Files

Bolt accessibility tests

Bolt uses Pa11y CI for accessibility testing.

Installation

pa11y-ci is installed alongside all npm requirements in package.json.

Usage

Run all tests with:

npm run a11y:test:all

Run a test for a specific page with:

npm run a11y:test localhost:8088/bolt/
⚠️ Note - by default, tests will not fail on errors
By default, the tests will pass even if there are accessibility errors and warnings, due to CI and limitations with pa11y.
If you want to see what is failing, edit pa11yci.json, by emoving the "threshold": {number} line.