Open mejiaj opened 11 months ago
If it's useful for reference, we had migrated off pa11y to HTML_CodeSniffer in our project in https://github.com/18F/identity-design-system/pull/285 , though (a) we already had an integrated browser driver to fall back on and (b) we were only using the simpler HTML_CodeSniffer (default) tests, not Axe (unsure what's used in this project).
For cloud.gov Pages, we're looking into axe-core and reporting the JSON of results in HTML, similar to https://lpelypenko.github.io/axe-html-reporter/ -- happy to chat with USWDS folks about it if you're game!
Thank you both! Last week pa11y had a lot of crashes and yesterday it seemed okay. Overall the reliability is a big concern.
We moved from axe-core to pa11y because of the configurability and the ability to test against a sitemap made it really easy to integrate.
Currently, we're not using a browser driver and we test against WCAG AA.
Pa11y tests are slow, crash often, and test every page.
Tests take 7min on average and fail often. Development for the tool lags behind their other, main, product see Pa11y-CI [GitHub] releases. Last release was Nov 2023.
If we want to continue using this tool, we should:
Additional information
Locally it takes a while too. From desktop test -
npm run pa11y-ci:sitemap
:To do
2689
1589
1884