Accessibility audit
WCAG 2.2 AA with axe and a keyboard walk.
a11y-audit runs axe-core against WCAG 2.2 AA and then tabs through each page: visible focus, keyboard traps, unreachable controls and the skip link. Each problem is listed once, with every page it appears on, and results that need a person are marked for review.
a11y-auditWhat you get
- WCAG 2.2 AA findings, deduplicated
- Keyboard and focus problems
- The pages each problem is on
- What still needs a person to review
Step by step
From an API key to a report, then onto every pull request.
- 1
Connect WebAgent
Create an API key in the dashboard, then export it for the
webagentCLI, or add the MCP server to Claude Code so your agent can callrun_skillitself.shexport WEBAGENT_API_URL=https://api.example.com WEBAGENT_API_KEY=… # or hand the browser to Claude Code claude mcp add webagent -e WEBAGENT_API_URL=$WEBAGENT_API_URL -e WEBAGENT_API_KEY=$WEBAGENT_API_KEY -- npx -y @webagent/mcp - 2
Audit one page
Start with a single page to see the shape of the report.
shwebagent skills run a11y-audit --url https://staging.example.com --report a11y.html - 3
Audit a list of pages, or the whole site
Pass
urlsfor specific pages, or setcrawlto audit everything reachable fromurlon its host.json{ "url": "https://staging.example.com", "crawl": true, "maxPages": 50, "exclude": ["/blog/*"] } - 4
Test what only appears after a click
Menus, modals and accordions are hidden on load.
interactionsruns plain-language steps on every page, each followed by another axe run.json{ "url": "https://staging.example.com", "interactions": ["click \"Open menu\""] } - 5
Read the report
The run finishes with a summary line and findings grouped by severity, each with its evidence. Open the HTML report to share one page instead of a pile of screenshots.
Inputs
For a11y-audit. Pass them as flags, JSON or in plain words to your agent.
| url / urls | One page, a list of pages, or where the crawl starts. |
|---|---|
| crawl | Audit every page reachable from url on its host. |
| maxPages | Most pages to crawl (default 25, up to 100). |
| interactions | Steps run on every page, each followed by another axe run, e.g. click "Open menu". |
| keyboard | Tab through each page: visible focus, traps, unreachable controls, skip link (default on). |
Related
Run your first check today.
Free plan: 20 credits, given once, no card.