Open nolanlawson opened 6 years ago
The plugin uses an older version of aXe, but there are two pull requests opened if the latest version is needed.
Interestingly it seems aXe cannot test Pinafore. I've tried axe-cli
as well, and it just hangs.
I thought maybe it was due to CSP, but I disabled it and it still fails.
On the bright side, Lighthouse does seem to be working so perhaps this should be closed in favor of https://github.com/nolanlawson/pinafore/issues/746
aXe runs for me in both Firefox Nightly and Chromium.
axe works for me now, although it's finding some false positives: https://github.com/dequelabs/axe-core/issues/1176#issuecomment-473704254
Want to get this going to ensure when we resolve contrast issues we dont accidentally regress so adding to milestone for WCAG compliance.
@NickColley Thanks a lot. AA sounds totally achievable for us. (My understanding is that AAA is more like a "stretch goal" so not necessarily something we need to target?)
Yeah some things you want to try and aim for AAA but sometimes it's actually impossible to meet all to AAA.
AA is what the main legislation for the EU and UK Public Sector Accessibility Regulations align with, and is becoming a sort of defacto baseline, and definitely achievable for us.
Just a note on false positives, it's pretty common for axe to throw up issues that are false positives so what we'd do in this case is disable the rule that is being thrown and document why. This may also be a good way to introduce the tests as well, in a sort of 'failing test' situation where we add axe and raise github issues for each disabled rule.
We can use this testcafe plugin: https://github.com/helen-dikareva/axe-testcafe