Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance accessibility to meet WCAG 2.0 compliance - automate compliance checking #193

Open
jcohen02 opened this issue Apr 26, 2024 · 6 comments

Comments

@jcohen02
Copy link
Contributor

jcohen02 commented Apr 26, 2024

The site should meet accessibility guidelines and be WCAG 2.0 compliant.

This will require some updates.

Compliance checking should then ideally be added into the GHA pipeline so that future changes that are non-compliant are flagged.

@mjaquiery
Copy link
Collaborator

We might want to use jest-axe in our component tests:
https://github.com/nickcolley/jest-axe?tab=readme-ov-file#testing-react-with-react-testing-library

@eatyourgreens
Copy link
Contributor

@eatyourgreens
Copy link
Contributor

Accessibility Insights is also a great tool for Chrome and Edge. It will walk you through a WCAG 2 audit, and integrates with GitHub so that you can open issues for any problems that you find.
https://accessibilityinsights.io/

Here's an example of an issue that it created:
zooniverse/front-end-monorepo#1597

@eatyourgreens
Copy link
Contributor

The Nomensa Accessibility Statement Generator lists all the WCAG 2 AA success criteria. Tick/untick the ones that apply, and it will generate an accessibility statement that you can publish on the web site.

@eatyourgreens
Copy link
Contributor

I ran a random course materials page through a Lighthouse check on Page Speed Insights and the results are pretty good, for Next.js. Performance is 69% and Accessibility scores 78%. This is without the PRs that merged yesterday, which should nudge the accessibility score up.

https://pagespeed.web.dev/analysis/https-train-oxrse-uk-material-HPCu-introductory_courses-python-07_pandas_dataframes/xdjephxfsy?form_factor=desktop

@eatyourgreens
Copy link
Contributor

Yale have a useful Easy Checks Protocol for manual testing, based on WCAG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants