It is recommended to perform accessibility testing on all sites. Two recommended tools are Lighthouse and axe.
Lighthouse is built into the Chrome browser. To run it on a site:
- Browse the site.
- Open the browser DevTools.
- Click the “Audits” tab.
- Press the “Generate report” button.
- Fix all issues that are identified.
- To rerun the audit, click the icon of a circle with a diagonal slash to clear the current report and press the “Generate Report” button again.
- Run the audit with the “Device” radio button set to “Desktop” and then again with “Mobile”.
- Keep going until you get a score of 100 in every category for both “Desktop” and “Mobile”.
The axe tool is available as a Chrome extension. To install it in Chrome:
- Browse https://www.deque.com/axe/.
- Click the “Download axe” button.
- Click the “Add to Chrome” button.
To run axe on a web site:
- Browse the web site to be tested.
- Open the browser DevTools.
- Click the axe tab.
- Click the “Analyze” button.
- Click each issue identified in the left nav to see a detailed description on the right.
To navigate between multiple instances of the same issue type, click the ”<” and ”>” buttons in the upper-right.
To see the rendered element associated with an issue, click “Highlight”.
To see the DOM element associated with an issue, click ”</> Inspect Node”.
To rerun the tests after code changes, press “Run again”.