-
Notifications
You must be signed in to change notification settings - Fork 338
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
Improve our use of automated accessibility tools #1971
Comments
From talking to a developer at DfE where issue #1966 was caught, this is their setup:
https://dashboard.cypress.io/projects/tqfe7m/runs/1009/failures is an example of the failing test that caught the issue in #1966. They suggested we could look at using axe-puppeteer to do something similar. |
This also came up as part of a 'tech & ops health check' exercise the team ran in November 2020, as part of the 'testing – pre-deployment' practise. We scored ourselves as 'good' for that practise, but said that we were 'moderately concerned' about it as we know there are some areas that could be improved. This was flagged as one of the things that we wanted to do. |
We ended up closing this (and including all component examples) in: |
What
Extend our use of Axe (and/or other automated testing tools) to cover more of our examples, and run in an environment where JavaScript and CSS are included and run.
Why
#1966 was caught downstream by a user who was running Axe against their application. Improving the way we use automated testing tools will improve the chances of issues like this being caught before they can be released.
Further detail
At the minute, we use jest-axe on some (but not all) of the examples for each component, but it runs against the markup only – it’s not run in an environment where CSS / JS are included. We may want to remove these tests if we are able to test in an environment where JS / CSS is included.
We do have other tests that run in Puppeteer for components that use JavaScript, but we do not use Axe in Puppeteer.
Done when…
The text was updated successfully, but these errors were encountered: