Overview
Pa11y is a set of free, open-source tools for automated accessibility testing of web pages. The core tool is a command-line program: you give it a URL, it loads the page in headless Chrome, runs a set of accessibility checks and lists the problems it finds. It can also be called from Node.js code.
Checks come from one of two engines, HTML_CodeSniffer (the default) or axe-core, and you can run both together. Tests target WCAG 2 at level A, AA (the default) or AAA. Before testing, Pa11y can carry out scripted actions such as clicking a button, filling in a field or waiting for an element, which helps with pages behind a form or a menu. Results can be printed to the terminal or output as CSV, TSV, HTML or JSON, and the exit code tells a script whether issues were found.
The wider project includes Pa11y CI, which runs through a list of pages and is built for continuous integration; Pa11y Dashboard, a self-hosted web dashboard that tests pages daily and charts progress; and Pa11y Webservice, the JSON service behind the dashboard. Pa11y is licensed under LGPL 3.0 and needs a recent Node.js version.
Categories
Features
- Command-line accessibility tests against any URL
- Runs pages in headless Chrome
- Choice of HTML_CodeSniffer or axe-core test engines, or both
- WCAG 2 level A, AA or AAA standards
- Scripted actions such as clicking, typing and waiting before a test
- Reports as terminal output, CSV, TSV, HTML or JSON
- JavaScript API for use inside Node.js scripts
- Pa11y CI for testing lists of pages in build pipelines
- Self-hosted Pa11y Dashboard with daily tests and trend graphs
Privacy
See the official privacy policy. Pa11y runs on your own machine and needs no account.
Pros & Cons
Pros
- Free and open source
- Easy to automate thanks to exit codes and JSON output
- Runs locally with no account or hosted service
- Works on Linux, macOS and Windows
Cons
- Command-line tool that needs Node.js; the dashboard has to be self-hosted
- The current version requires a recent Node.js release
- AAA level and the extra WCAG 2.1 rules apply only to the HTML_CodeSniffer engine
- Automated checks only report what the test engines can detect
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Accessibility Testing · WAVE Web Accessibility Evaluation Tool
Evaluates a web page's accessibility.
Free No Signup Web API -
Accessibility Testing · axe DevTools
Scans a page for automated accessibility issues.
Freemium Web -
Accessibility Testing · Accessibility Insights
Finds accessibility issues in websites and Windows apps.
Open Source No Signup Windows