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

Automated accessibility testing/reporting #5

Description

@adelevie

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions