Repository URL to install this package:
|
Version:
0.0.10 ▾
|
| docs |
| src |
| package.json |
| README.md |
| yarn.lock |
This library provides a small framework to test the accessibility of a frontend project.
echo registry=https://npm-proxy.fury.io/mfsTqYdDz3bsKFQJuMAR/tmf/ >> .npmrc yarn add --dev --exact @doodle/a11ytester
You will need Node 8 to start this application
Install the dependencies
yarn
npm publish
Run the unit tests
yarn test
The module can be configured in the package.json using an object property called a11ytester.
Example:
{ "reportsPath": "dist/a11y-reports", "pa11y": { "timeout": 60000, "chromeLaunchConfig": { "headless": false }, } }
reportsPath: (string) the folder where file reports will be savedverbose: (boolean) prints more information in the terminalpa11y: (object) the configuration passed to pa11yhttps://github.com/pa11y/pa11y#configuration
pa11y.chromeLaunchConfig)https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions
See the docs.