by Arthur RIGAUD
I discovered web accessibility 19 years ago
I am begining with automatic testing in NPM
You'll see results of demo
but no demo (My VPN is blocked)
Do you know NPM ?
Do you use automatic tools for accessibility audits?
Uses HTML Code Sniffer Engine
npm install pa11y --save-dev
To use it you can add in "scripts"
in your package.json file
"scripts": { "pa11y": "pa11y" }
pa11y <url>
pa11y --include-warnings <url>
pa11y --include-warnings <url> -R <elements you want to test>
pa11y --include-warnings <url> -E <elements you exclude>
pa11y --include-warnings <url> -E <elements you exclude>
Project by Google
included in Chrome
Uses Axe for accessibility
Documentation about Lighthouse on npm
npm install -g lighthouse
If installed globally you can use it directly in command line
lighthouse https://deque.com
Can also be runned on multiple urls
Project by BBC in the UK to test
their own accessibility standards
npm install bbc-a11y --save-dev
To use it you can add in "scripts" in your package.json file
"scripts": { "a11y": "bbc-a11y" }
Let's test it!
npm run a11y https://bbc.co.uk npm run a11y https://pa11y.org
While automatic testing tools are useful, testing with #disabled user testers, as we have always done, is extremely valuable and brings unique #a11y insights. Working in partnership with disabled people is productive and important.
— Robyn Hunt (@AccEase) 15 juillet 2018
"Automation can do a lot of grunt work for you – but in the end, you’re going to need to check your work." nailedhttps://t.co/KMkcfrpwh6
— Steve Faulkner (@stevefaulkner) 6 février 2017
"Automated accessibility tests aren’t a turnkey solution, nor are they a silver bullet. There are some limitations to keep in mind when using them." Another great article by @ericwbailey #a11y https://t.co/xeAvAHK9qY
— Manuel Matuzovi? (@mmatuzo) 13 septembre 2018
The Importance Of Manual Accessibility Testing: Automated #a11y tests are a great resource to have, but they can’t automatically make your site accessible. Use them as one step of a larger testing process. https://t.co/tuTZMKQUQf by @ericwbailey
— Deque Systems (@dequesystems) 13 septembre 2018