a11y-tests

A series of small atomic tests used to compare accessibility linting tools.

Installation

npm install

Run a test

Note that most accessibility testing tools require a web server.

npx pa11y http://HOST/contrast-ratio-45.html
npx axe http://HOST/contrast-ratio-45.html