Open mejiaj opened 3 years ago
Our accessibility script takes an array of URLs. So if we wanted to test all components, we'd have to include all of them. Instead, we should be able to use something like globbing to ensure all subpages are tested.
Currently:
const PAGES = [ '/', '/page-templates/landing/', '/page-templates/docs/', ];
Source: run-axe.js:13
Prevents the run-axe.js file from becoming unwieldy.
run-axe.js
npm run axe
What would this take to complete? I love the idea of using globs, but I also don't really care about having an unwieldy config file at the moment
Description
Our accessibility script takes an array of URLs. So if we wanted to test all components, we'd have to include all of them. Instead, we should be able to use something like globbing to ensure all subpages are tested.
Currently:
Source: run-axe.js:13
Prevents the
run-axe.js
file from becoming unwieldy.Additional information [optional]
npm run axe
to run a11y tests.