-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add automated accessibility testing #13758
Comments
For automation post 6.3.0:
cc @AlonaNadler |
Is there any plan around this? |
@rayafratkina I met with Dima last week and started discussing this again. The first step looks like - I need to write a linter rule to catch labels because the existing a11y rules are not working on EUI components. Planning to do that next week after GA is out of the door and then seeing how I can start plugging in testing in functional tests. But we did figure out that part of the testing will always have to manual. Thanks! |
@rayafratkina I am going to take a shot at adding a11y rules to EUI repo. Its going to be an experiment to see if we can catch more issues at the source. |
Closing this in favor of this: #43016 |
It would be great to have automated tests for accessibility. I would suggest using either aXe or pa11y which are both open source and integrate well in the build pipeline.
Though automated a11y tests are not the ultimate solution not to make any a11y mistakes, since there is a lot of issues they cannot check, whether or not accessibility is done right, they would help finding a lot of common issues, like missing alternative texts or input fields that aren't correctly labeled.
Finding that issues in an automated manner, would help us keeping the basic compliance we are currently introducing, since we would otherwise need to check every new feature and PR if it introduces new accessibility issues.
The text was updated successfully, but these errors were encountered: