Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Automated accessibility testing/reporting #5

Open
adelevie opened this issue Apr 28, 2015 · 0 comments
Open

Automated accessibility testing/reporting #5

adelevie opened this issue Apr 28, 2015 · 0 comments

Comments

@adelevie
Copy link

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 inside 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant