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
regularly during development.automated browser testing -
Conducting your own
for all parts of the app.keyboard-only testing -
Conducting additional
to account for limitations of automated accessibility testing.manual testing -
Producing your own
of full, partial and non-conformances to the relevant accessibility standard.documentation
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
in any code to catch common problems introduced during development.linting -
Consider using
andintegration testing .end-to-end testing -
, particularly theTest regularly with assistive technologies .NVDA 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.