FESK Accessibility
Runs accessibility tests against a static site.
Currently this CLI is not configurable to much degree, it expects a dist/
folder in
the root of the project and it will run a standard set of accessibility tests against all
html files in that folder.
There is also a .screenshots
folder generated to see the results of the tests. You can
add this to your .gitignore
of your project.
Installation (globally)
Globally:
$ npm install @fesk/accessibility-plugin -g
In project:
$ npm install @fesk/accessibility-plugin --save-dev
Usage
In package.json (recommended)
{
"scripts": {
"test:accessibility": "fesk-accessibility"
}
}
From CLI:
$ fesk-accessibility
Configuration
Changing the port of the webserver via package.json
, defaults to port 5000.
{
"serverPort": "8000"
}