Open adelevie opened 9 years ago
Providing accessibility reports for all of the sites under pages.18f.gov would help those site owners more easily track and squash accessibility bugs.
pages.18f.gov
Can we generate a list of all the public URLs under the pages.18f.gov domain?
The main dependency for actually running the tests would be pa11y, an npm module, which could fit nicely inside hookshot.js.
pa11y
hookshot.js
You can run pa11y against an entire site that has a sitemap.xml with this:
wget -q http://localhost:1313/sitemap.xml --no-cache -O - | egrep -o "http://localhost:1313[^<]+" | xargs -I '{}' pa11y {}
Also, I totally get the merits of leaving testing/CI up to each individual repo and not centralizing this. But it's still worth considering.
Providing accessibility reports for all of the sites under
pages.18f.gov
would help those site owners more easily track and squash accessibility bugs.Can we generate a list of all the public URLs under the
pages.18f.gov
domain?The main dependency for actually running the tests would be
pa11y
, an npm module, which could fit nicely insidehookshot.js
.You can run
pa11y
against an entire site that has a sitemap.xml with this:Also, I totally get the merits of leaving testing/CI up to each individual repo and not centralizing this. But it's still worth considering.