Accessibility fixes that prove themselves.
verifa11y finds the WCAG violations in your HTML, writes the smallest fix for each one and re-checks the page in a real browser. It drops any fix that only silences the checker, and tells you why.
Works wherever your agent does
- Claude Code
- Claude Desktop
- Cursor
- Codex
- Windsurf
- GitHub Copilot
- Gemini CLI
- OpenClaw
- Zed
- Cline
- JetBrains
- opencode
- Warp
- Amp
- Ollama
- GitHub Actions
- any terminal
Any host that speaks MCP, any agent CLI through --generator-cmd, and pull requests through the GitHub Action. Logos belong to their owners.
Watch it check a website
This small community-garden site has four problems that get in the way of people who use a screen reader or only a keyboard. As you scroll, verifa11y finds each one, tries a fix, and keeps the fix only if it holds up in a real browser.
- Finds the problem and the line of code behind it
- Writes the smallest fix it can
- Tests the fix in a browser, then keeps it or refuses it, and says why
-
The menu isn't recognised as a menu
Screen reader users hear two links with no sign that they are the site's main navigation.
Fix: a typo in the code, navigaton navigation WCAG 4.1.2
✓ Fixed. It passed all six checks.
-
The headings skip a level
People who jump from heading to heading get a page outline with a gap in it.
Fix: level 3 level 2 WCAG 1.3.1
✓ Fixed. It passed all six checks.
-
The map has no description
Someone who can't see the image never learns which plots are free.
A quick fix tried “plot map”, copied from the file name. WCAG 1.1.1
✕ Refused. A person has to describe what the map shows.
-
The button isn't announced as a button
Screen readers read “Join the waitlist” as plain text, so people don't know they can press it.
Fix: a typo in the code, buton button WCAG 4.1.2
✓ Fixed. It passed all six checks.
A checker can go quiet while the page stays broken.
Coding agents write accessibility fixes in bulk and confirm them by re-running a checker. Hide the element, add a generic label or copy the file name into the alt text, and that checker reports nothing. verifa11y keeps a fix only after it passes checks that a hidden or faked fix fails.
95.9% of the top million home pages had WCAG 2 failures that software could detect.
WebAIM Million, 2026Since 28 June 2025, the European Accessibility Act applies across the EU.
Directive (EU) 2019/882, Art. 31US state and local government sites must meet WCAG 2.1 AA under ADA Title II, from April 2027 for large entities.
U.S. DOJ, ADA Title II web rule
What the verifier adds
We judged the naive fixer's patches on the dev pages with weaker verifiers. Green is what the full verifier keeps, red is what it rejects.
“Wrong” means rejected by the full verifier, the reference here, not ground truth.
Six patches from the benchmark, replayed
Each patch and each verdict comes word for word from a benchmark run. Pick one to watch its checks.
demo/before/index.html · image-alt · a hand-written quick fix
30- <img src="plot-map.png" width="260">
30+ <img src="plot-map.png" width="260" alt="plot map">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Failed: Nothing hidden or meaningless alt restates the file name
- Failed: Accessibility tree name restates the file name
- Passed: Focus order 7 stops, same order
- Passed: Pixels 0% changed outside the patch
Rejected. text alternative "plot map" only restates the file name "plot-map.png"
corpus/handwritten/04-dashboard-roles.html · aria-roles · verifa11y codemod
15- <div class="bar" role="navigaton">
15+ <div class="bar" role="navigation">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Passed: Nothing hidden or meaningless
- Passed: Accessibility tree now a navigation landmark
- Passed: Focus order
- Passed: Pixels
Verified. The only valid role within one typo, and it needs nothing the markup doesn't give.
corpus/handwritten/09-event-signup.html · label · a naive quick fix
23- <input type="text" name="first" size="12">
23+ <input type="text" name="first" size="12" aria-label="first">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Failed: Nothing hidden or meaningless label restates the field's name
- Passed: Accessibility tree
- Passed: Focus order
- Passed: Pixels
Rejected. aria-label "first" only restates the name attribute "first" and does not contain the visible text next to the <input>
corpus/handwritten/04-dashboard-roles.html · aria-required-attr · a naive quick fix
33- <div role="combobox" tabindex="0" aria-label="Region">
33+ <div role="combobox" tabindex="0" aria-label="Region" aria-expanded="false" aria-controls="false">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Failed: Nothing hidden or meaningless aria-controls points at no element
- Passed: Accessibility tree
- Passed: Focus order
- Passed: Pixels
Rejected. id reference to no element on the page: aria-controls -> "false"
corpus/handwritten/04-dashboard-roles.html · aria-required-attr · a naive quick fix
24- <div class="btn" role="checkbox" tabindex="0">
24+ <div class="btn" role="checkbox" tabindex="0" aria-checked="false">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Passed: Nothing hidden or meaningless
- Passed: Accessibility tree
- Passed: Focus order
- Passed: Pixels
Verified, and a person should still say no. Nothing got worse, so it passes, but the markup never said the box is unchecked: the state is invented. verifa11y's own codemods decline exactly this.
corpus/handwritten/06-pricing-contrast.html · color-contrast · a naive quick fix
29- <button class="cta" type="button">
29+ <button class="cta" type="button" style="color: #000000">
- Passed: Violation gone axe-core
- Passed: Nothing new on the page every WCAG 2.x A/AA rule
- Passed: Nothing hidden or meaningless
- Passed: Accessibility tree
- Passed: Focus order
- Passed: Pixels only the button changed
Verified, and a person should still say no. The contrast passes and nothing got worse, but it's one inline override per element instead of a change to your design tokens.
Next to the tools you already use
| Capability | Auditorsaxe, Lighthouse | A coding agenton its own | verifa11ythis project |
|---|---|---|---|
| Finds violations | Yes | If it runs an auditor | Yes, to the line |
| Writes the fix | No | Yes | Yes |
| Re-checks the fix in a real browser | No | Re-runs the auditor, at best | Six checks |
| Rejects fixes that only silence the checker | No | No | Yes |
| Says why a fix was rejected | No | No | Yes |
| Hands you a patch to review | No | Edits your files directly | A .patch file |
| Works offline, no account | Yes | Depends on the agent | Yes |
Finds violations
- verifa11y
- Yes, to the line
- Auditors
- Yes
- Agent
- If it runs an auditor
Writes the fix
- verifa11y
- Yes
- Auditors
- No
- Agent
- Yes
Re-checks the fix in a real browser
- verifa11y
- Six checks
- Auditors
- No
- Agent
- Re-runs the auditor, at best
Rejects fixes that only silence the checker
- verifa11y
- Yes
- Auditors
- No
- Agent
- No
Says why a fix was rejected
- verifa11y
- Yes
- Auditors
- No
- Agent
- No
Hands you a patch to review
- verifa11y
- A
.patchfile - Auditors
- No
- Agent
- Edits your files directly
Works offline, no account
- verifa11y
- Yes
- Auditors
- Yes
- Agent
- Depends on the agent
A patch has to pass six checks
Each check catches one way to make a violation disappear without fixing it. verifa11y runs all six on every patch, its own codemods included.
- 1
Gone
axe-core no longer reports the violation on that element.
image-alt1→ 0 - 2
Nothing new
Every WCAG 2.x A and AA rule, on the whole page.
new violations: 0 - 3
Nothing faked
No hidden elements, no “image”, no text that restates a file or field name.
alt = plot-map.png - 4
Accessibility tree
Chromium's computed role, name and state, before and after.
nav → navigation - 5
Focus order
Real Tab presses. Nothing leaves the order or moves.
7 stops → 7 stops - 6
Pixels and references
Nothing outside the patch changes; every reference exists.
0.00% outside
What the checks can't judge. Whether alt text says what an image is for, whether a state is true, whether a colour fits your design. Most of WCAG needs a person, so read every patch before you apply it.
Measured, including where it looks bad.
95 pages, 73 of them held out. Precision is against the verifier, not a person, with 95% Wilson intervals.
The codemods passed verification 154 times out of 154. On held-out pages that is 18 of 18, a small sample with an interval of [82.4–100]. A deliberately naive fixer wrote 238 patches that pass axe-core and that verifa11y rejects. We haven't measured a real model yet, so this page shows no number for one.
| Written by | Pages | Verified | Precision |
|---|---|---|---|
| verifa11y codemods | held out | 18/18 | 100.0% [82.4–100] |
| dev | 136/136 | 100.0% [97.3–100] | |
| Naive quick fixes | held out | 619/736 | 84.1% [81.3–86.6] |
| dev | 403/653 | 61.7% [57.9–65.4] |
How to read the naive rows
The naive fixer gets more patches past the verifier than the codemods do, and a reviewer would turn many of them down: invented state, inline colour overrides, a deleted live region. The verifier proves that none of them makes the page worse. Read “verified” as an upper bound on quality.
Before you try it.
Does verifa11y make my site accessible?
No. It fixes specific, machine-detectable violations and proves those fixes didn't make anything worse. Most of WCAG can only be judged by a person. Use it as a first pass you still review.
Does my code leave my machine?
Only if you configure a model or agent for the fixes that need judgment; then the page goes to whatever you configured. No telemetry, no account, no server. Pages render offline.
Do I need an AI model?
No. Codemods fix what can be proven from the markup (misspelled roles, invalid ARIA values, heading levels, simple labels) and the rest is reported as skipped. With a model it also attempts alt text, contrast and widget state.
Which rules does it patch?
image-alt, label, heading-order, aria-allowed-attr, aria-required-attr, aria-valid-attr-value, aria-roles and color-contrast. The verifier checks every WCAG 2.x A/AA rule axe-core has.
What about React, Vue or a live site?
Patching works on static HTML today; frameworks are on the roadmap. verifa11y site audits a live site but only reports: a live page has no source file to patch.
How is “verified” different from “passes axe”?
Passing axe means the rule stopped reporting. Verified also means nothing new broke, nothing was hidden, no name became meaningless, and the accessibility tree, focus order and pixels still agree. On the benchmark, 238 patches pass axe and fail the rest.
Is it free?
Yes. It is Apache-2.0 and lives on GitHub, where you can report bugs and send changes.
Pick where you work.
Node.js 20 or later. No model needed: verifa11y applies the fixes it can prove and tells you why it skipped the rest.
Claude Code
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd the server from your project folder.
claude mcp add verifa11y -- npx -y verifa11y-mcp --root .Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Codex
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd the server. It is saved in
~/.codex/config.toml, which the Codex CLI, IDE extension and app all read.codex mcp add verifa11y -- npx -y verifa11y-mcp --root .Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Cursor
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd it to
.cursor/mcp.jsonin your project.{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Windsurf
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd it to
~/.codeium/windsurf/mcp_config.json, then press refresh in Cascade's MCP panel.{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
VS Code · Copilot
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd it to
.vscode/mcp.jsonin your workspace and start it from the MCP view.{ "servers": { "verifa11y": { "type": "stdio", "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "${workspaceFolder}"] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Gemini CLI
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd it to
~/.gemini/settings.json(or.gemini/settings.jsonin the project).{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Claude Desktop
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserOpen Settings → Developer → Edit Config and add it to
claude_desktop_config.json. Use the absolute path of your project as--root.{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "/path/to/your/project"] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Zed
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserOpen your settings file (
zed: open settings file) and add a context server.{ "context_servers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Cline
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserIn Cline, open MCP Servers → Configure and add it to
cline_mcp_settings.json.{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
opencode
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd the server from your project folder.
opencode mcp add verifa11y -- npx -y verifa11y-mcp --root .Ask your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
OpenClaw
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserAdd it under
mcp.serversin~/.openclaw/openclaw.json(or withopenclaw mcp add).{ "mcp": { "servers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "/path/to/your/project"] } } } }Check that it connects and lists its tools.
openclaw mcp doctor verifa11y --probeAsk your agent in plain words, for example: “Fix the accessibility of index.html with verifa11y.” It gets a patch to review, never an edited file.
Ollama (local)
Install the browser, once.
npx verifa11y install-browserAudit the page.
npx verifa11y audit page.html --out findings.jsonLet a local model write the fixes that need judgment. Fully offline; every patch still faces the six checks.
npx verifa11y fix findings.json --verify --strict --generator-cmd "ollama run qwen3:8b --think=false"Review and apply.
git apply patches/verifa11y.patch
Terminal
Install the browser, once.
npx verifa11y install-browserAudit a page: every violation, with its rule, WCAG criterion and source lines.
npx verifa11y audit page.html --out findings.jsonFix and verify. Only patches that pass all six checks make it into the output.
npx verifa11y fix findings.json --verify --strict --out patchesRead the report, then apply what you agree with.
git apply patches/verifa11y.patchOptional: any agent CLI can write the fixes that need judgment.
npx verifa11y fix findings.json --verify --strict --generator-cmd "claude -p"
GitHub Actions
Add a workflow. On every pull request it audits the HTML that changed.
name: accessibility on: pull_request: paths: ["**/*.html"] permissions: contents: read pull-requests: write jobs: verifa11y: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false - uses: actions/setup-node@v4 with: { node-version: 22 } - uses: mateogsilvaa/verifa11y@v0.4.1Verified fixes arrive as suggestions on the exact lines. Suspicious and skipped findings are listed for a person, never suggested.
Other MCP hosts
Install the browser verifa11y renders with, once.
npx verifa11y-mcp --install-browserJetBrains, Warp, Amp and any other client that speaks MCP: add a stdio server with command
npxand arguments-y verifa11y-mcp --root .. In JSON-configured hosts:{ "mcpServers": { "verifa11y": { "command": "npx", "args": ["-y", "verifa11y-mcp", "--root", "."] } } }The agent gets four tools:
rules,audit,fixandverify. Every result says what was verified and that a person must review it.