netlify-plugin-a11y icon indicating copy to clipboard operation
netlify-plugin-a11y copied to clipboard

aXe runner support

Open cfq opened this issue 5 years ago • 4 comments

Pa11y uses HTML_CodeSniffer by default but unfortunately HTML_CodeSniffer isn't very good when it comes to finding barriers that can be detected by automated accessibility checkers, and aXe is quite a lot better.

Pa11y has support for different runners and it would be great we could specify which one we prefer.

cfq avatar Jun 16 '20 12:06 cfq

Hi @cfq,

This makes sense. Would you be interested in sending a PR to add support for this? Thanks!

ehmicky avatar Jun 16 '20 12:06 ehmicky

Thanks @ehmicky, I definitely would!

cfq avatar Jun 16 '20 14:06 cfq

Thanks! Please let me know if you need any help :pray:

ehmicky avatar Jun 16 '20 18:06 ehmicky

just for some historical context - this plugin originally used axe, and we could not get it to work in netlify's buildbot for whatever reason: https://github.com/netlify-labs/netlify-plugin-a11y/issues/2

hence I pivoted to use pa11y AFTER spending 1 whole week failing at getting axe cli to work.

good luck, i hope you figure it out.

swyxio avatar Jul 09 '20 05:07 swyxio