Testing for accessibility
Testing for accessibility
Introduction
Testing your code regularly during development can help to identify accessibility issues in both the design and implementation before you test it with users. Approach accessibility testing as you would standard functional testing.
There are well known
What you need to do
Your accessibility testing must include:
-
Using
automated browser testing regularly during development. -
Conducting your own
keyboard-only testing for all parts of the app. -
Conducting additional
manual testing to account for limitations of automated accessibility testing. -
Producing your own
documentation of full, partial and non-conformances to the relevant accessibility standard.
Test as you develop
Test as frequent as you can (ideally on every ticket and pull request). To help reduce the amount of accessibility problems you find in testing, you should update your development workflows to:
-
Use
linting in any code to catch common problems introduced during development. -
Consider using
integration testing andend-to-end testing . -
Test regularly with assistive technologies , particularly theNVDA screen reader .
Testing with real people
You should aim to
This may relate to disability and impairments but also skills, experience, ways of working and technology literacy.
In general,
Always do your own testing first
Complete all the accessibility testing you can before testing with users who have accessibility needs. This will let them focus on real usability issues instead of common accessibility issues.