Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS - a11y: Add basic NPM task to test for accessibility. #179

Merged
merged 2 commits into from
Dec 3, 2020

Conversation

mejiaj
Copy link
Contributor

@mejiaj mejiaj commented Nov 23, 2020

Resolves uswds/uswds#3734

Tests for WCAG2A issues on homepage (http://localhost:4000/) and a specimen page (http://localhost:4000/public-sans-100/).

  1. Run local server npm run start or npm run serve
  2. Open new terminal tab and run test via npm run test:a11y

- Removed css-mqpacker, cssnano, gulp-rename
- Added axe-core/cli for local testing
@mejiaj mejiaj added enhancement dependencies Pull requests that update a dependency file GSA web mod labels Nov 23, 2020
@mejiaj mejiaj self-assigned this Nov 23, 2020
@thisisdano thisisdano merged commit 0db9474 into master Dec 3, 2020
@thisisdano thisisdano deleted the jm-a11y-testing branch December 3, 2020 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement GSA web mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants