Install
npx a11ied setup
Setup installs the a1 command and offers to add a11ied to your AI
coding agents. See a1 setup. The examples below run against a
practice page: a demo page the docs serve, with ten
accessibility problems built in. You can copy and run them unchanged.
Scan a page
a1 check runs axe-core,
the open-source rule engine behind most accessibility scanners, in a real browser.
a1 check https://hypothesi.github.io/a11ied/demo/team/ check https://hypothesi.github.io/a11ied/demo/team/
✗ 10 problems to fix.
Problems
4.1.2 Name, Role, Value [A]
Buttons must have discernible text critical
3 failing elements:
tr[data-status="active"][data-member-row=""]:nth-child(1) > td:nth-child(5) > .icon-button[type="button"]
...
Fix it: a1 wcag rule button-name
...
Check by hand
38 criteria this page triggers need a person:
• 2.1.1 Keyboard
• 2.4.3 Focus Order
... Each problem names the WCAG criterion it fails, the element, and a command that looks up the fix. Below the problems is a checklist: the criteria on this page that need a manual test.
Capture what a screen reader announces
a1 sr drives a screen reader and logs everything it announces.
sr walk reads a whole page and prints the log.
a1 sr walk https://hypothesi.github.io/a11ied/demo/team/ --sr virtual ! No session was active, so one was started.
# Transcript: virtual on https://hypothesi.github.io/a11ied/demo/team/
Started 2026-11-24T14:17:34.346Z. Exported 2026-11-24T14:17:35.015Z. 96 phrases.
1. [14:17:34.998] banner
2. [14:17:34.998] Northwind
3. [14:17:34.998] navigation, Workspace settings (Workspace settings)
...
14. [14:17:34.998] heading, Members, level 3 (Members)
15. [14:17:34.998] searchbox, placeholder Filter members
16. [14:17:34.998] button, All (All)
17. [14:17:34.998] button, Active (Active)
18. [14:17:34.998] button, Pending (Pending)
19. [14:17:34.998] button, Invite member (Invite member)
...
44. [14:17:34.998] cell, 2 hours ago (2 hours ago)
45. [14:17:34.998] cell
46. [14:17:34.998] button
47. [14:17:34.998] end of cell
...
96. [14:17:34.998] end of document
Stopped at the end of the document. Line 46 is a button that says only "button". Line 15 is a search field with no label. A scanner reported the first and passed the second.
sr walk leaves the screen reader running for more commands. Stop it with
a1 sr stop.
--sr virtual is a simulated screen reader that needs no setup and runs
anywhere. --sr voiceover on macOS and --sr nvda on Windows
drive the real ones with the same commands. See
screen readers.
Conduct an audit with an AI agent
Your AI coding agent can carry out a full WCAG audit: it scans each page, tests it
with a screen reader, and records what no tool measures, while
a1 audit tracks the work and writes the report. The agent needs the
a11ied skills, which teach it how to test and how to report what it found. With the
skills and the CLI from Install, the agent runs the same
a1 commands you would.
npx -y @a1st/aix install https://github.com/hypothesi/a11ied/blob/master/packages/skills/ai.json --only skills --user aix asks which agent gets the skills. Restart the agent so it loads them, then ask for the audit.
Audit https://example.com against WCAG 2.2 AA with a11ied. Do not submit the contact form. Use four workers.
The MCP server is optional. The skills
and the CLI are enough, but agents work well with the server too. It gives the agent
the a1 commands as tools: scan a page, drive a screen reader, look up a
criterion. Use it for an agent that cannot run terminal commands, or when you want
every a11ied call to appear as a tool call.
{
"mcpServers": {
"a11ied": {
"command": "npx",
"args": ["-y", "a11ied", "mcp"]
}
}
} See audit a site with AI agents, and set up an AI agent for other agent tasks, such as checking a component while you build it.
Write a test
The simulated screen reader also runs inside a test. This one opens a dialog and checks that the dialog announces its name and that focus moves into it.
import { describe, expect } from 'vitest';
import { test } from 'a11ied/vitest';
const team = test.extend({
srOptions: { url: 'https://hypothesi.github.io/a11ied/demo/team/fixed/' },
});
describe('invite dialog', () => {
team('opens with its name and moves focus to the first field', ({ sr }) => {
sr.goTo({ role: 'button', name: 'Invite member' })
.checkpoint('opened')
.activate()
.expect.spoken('dialog, Invite member', { since: 'opened' })
.and.cursorOn({ role: 'textbox', name: 'Email address' });
});
}); See test with Vitest, or write screen reader tests for Jest, Mocha, and Playwright Test.
What the results mean
a11ied labels every result as one of three kinds of evidence.
- A scan
- Finds failures. A clean scan does not mean a criterion passes, because no criterion can be decided by a scanner alone.
- A transcript
- The log of what a screen reader announced. A transcript from the simulated screen reader is not evidence of what VoiceOver or NVDA does.
- A judgment
- A person's or an agent's decision on what no tool measures, such as whether alt text describes its image or focus order makes sense.
a1 auditrecords it.
See test methods for how many criteria each kind of evidence can decide.
Where to go next
- Quickstart
- Install, scan a page, and read it with a screen reader. Five minutes.
- Playground
- Run the simulated screen reader on a test case in your browser, with nothing to install.
- Practice on a broken page
- Work through a demo page with ten accessibility problems, one command at a time.
- Test with a screen reader
- Every
a1 srcommand, with VoiceOver, NVDA, or the simulated screen reader. - CLI reference
- Every command and option.
- Glossary
- The terms these docs use, each in a sentence or two.