Learning axe-cli

November 13, 2019 ยท View on GitHub

Just one of the things I'm learning: https://github.com/hchiam/learning

Reference and more aXe tools: a YouTube video also found in Google Devs docs.

Setup

  • Install the CLI tool:
npm install axe-cli -g
axe-cli --version # just to confirm it's actually installed
which chromedriver
which geckodriver

Use

  • One line. For example, to test https://www.deque.com:
axe https://www.deque.com

(It even works on things like localhost or file://.../index.html.)