Releases: bbc/a11y-tests-web
Releases · bbc/a11y-tests-web
v6.0.1
v6.0.0
v5.12.1
v5.12.0
v5.11.0
v5.10.0
v5.9.0
Updates bbc-a11y from v2.2.6 to v2.4.0.
See bbc-a11y's history file for a list of changes.
v5.8.0
Adds a new CLI command, meaning this package can now be run anywhere from the command-line, making it easy to integrate with your existing projects. Here's how:
- Install the package globally:
npm install @bbc/a11y-tests-web --global
- Run the command anywhere from your command-line, e.g.
A11Y_CONFIG=iplayer-web/all a11y-tests-web lighthouse -m junit-headless
You could also make it part of your application's scripts. Here's how:
- Add the package to your application's dev dependencies:
npm install @bbc/a11y-tests-web --save-dev
- Add a line to your application's scripts e.g.
"test:a11y": "A11Y_CONFIG=iplayer-web/app-playback-test a11y-tests-web bbc-a11y -m interactive"
You can find out more about using the CLI option by running a11y-tests-web --help
.