-
Notifications
You must be signed in to change notification settings - Fork 38
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
Testing accessibility for all components #1148
Comments
Currently I'm working on it. I'm doing this tests with this library, is it okay? https://github.com/nickcolley/jest-axe @mayank99 |
jest-axe is okay, but the problem is it runs in jsdom, so it won't be able to catch many of the issues such as color contrast. A better option would be to run aXe inside cypress/playwright or through storybook. And of course that is only the first step. After that, we also need to do manual testing and document the results. |
So I will do it with jest-axe firstly, after that I will add more test with cypress. jest-axe does not guarantee that what you build is accessible but still jest-axe is good. @mayank99 |
Next steps:
|
All components, especially the more complex ones, need to be tested for accessibility. The most basic form of this involves running automated tools (like axe) which could even be made of part of CI. A more useful form of this will involve testing with (at least) NVDA+Firefox/Chrome on Windows and VoiceOver+Safari on macOS, and also with Talkback+Android and VoiceOver+iOS where possible.
This issue can be used as a checklist to track the status of all components.
Status
Automated (using axe)
(already passing if not mentioned)
li
elements inside DatePicker with Time Component. #1581label
to IconButton example #1532label
to Input Button example #1536Manual accessibility audit
Pending.
Automated screen-reader testing
Pending.
See guidepup.
The text was updated successfully, but these errors were encountered: