Skip to content

Commit

Permalink
Merge pull request #1145 from carloslancha/issue-1143-pa11y
Browse files Browse the repository at this point in the history
Use pa11y instead metal-a11y-checker | Fixes #1143
  • Loading branch information
jbalsas authored Sep 3, 2018
2 parents 16f4016 + 92c184a commit 6d95075
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 308 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ npm run site
```

### Important
Since travis is failing on executing a11y tests due to out of date suid you need to execute `npm run a11y` locally before sending any pr to verify we're following accessibility standars.
Since travis is failing on executing a11y tests due to out of date suid you need to execute `npm run pa11y` locally before sending any pr to verify we're following accessibility standars.

## License

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"private": true,
"scripts": {
"a11y": "metal-a11y --packages ./packages -c demos/a11y.html",
"build": "lerna run build",
"compile": "lerna run compile",
"checkFormat": "npm run prettier -- --list-different",
Expand All @@ -12,10 +11,11 @@
"link": "lerna run link",
"lint": "eslint packages/clay-*/src/*.js packages/clay-*/src/**/*.js && npm run mcritic",
"mcritic": "mcritic packages/ --ignore '**/{browserslist-config-clay,clayui.com,generator-metal-clay,node_modules}/**'",
"pa11y": "pa11y-ci ./packages/clay-*/demos/a11y.html",
"prettier": "prettier-eslint packages/clay-*/src/*.js packages/clay-*/src/**/*.js",
"soy": "lerna run soy",
"start": "http-server . -p 4000",
"test": "npm run build && npm run jest && npm run a11y",
"test": "npm run build && npm run jest && npm run pa11y",
"testSoy": "cd packages/clay-isomorphic && ./gradlew testSoy",
"site": "cd clayui.com && npm run build && npm run serve"
},
Expand All @@ -31,9 +31,9 @@
"husky": "^0.14.2",
"jest": "^20.0.4",
"lerna": "^2.4.0",
"metal-a11y-checker": "^1.0.5",
"metal-jest-serializer": "^2.0.0",
"metal-soy-critic": "^2.4.0",
"pa11y-ci": "^2.1.1",
"prettier-eslint-cli": "^4.7.0"
},
"jest": {
Expand Down
Loading

0 comments on commit 6d95075

Please sign in to comment.