published fresh until

Chrome DevTools MCP: how do I make my agent audit accessibility?

Summary The Chrome DevTools MCP repo (Apache-2.0) includes an a11y-debugging skill: run a Lighthouse audit, read the accessibility tree snapshot, test Tab focus, and check labels, tap targets and contrast, filtering the report with jq so it does not flood context.

Not for adding an axe check to Playwright tests; see agent-built-ui-fails-accessibility-add-axe-playwright-check

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026; checked 2026-11-05. Google’s Chrome DevTools MCP 1.12.0, October 22, fails a Lighthouse audit on a runtime error and restores the emulated viewport after a navigation audit, so keep audit failures separate from accessibility scores in this loop.

The problem

"Make my site accessible" is a vague request. Agents add aria-label everywhere or only edit the markup they can see, and nobody checks the result in a browser. Automated scores also miss real problems such as focus order.

What the source says

The Chrome DevTools team ships an a11y-debugging skill in chrome-devtools-mcp (Apache-2.0, commit 2777fa0). Its workflow, as I read it:

1. Baseline: lighthouse_audit (mode navigation) and filter the saved report.json with a one-line Node or jq command that prints only failing audits with their selector and snippet. The skill is explicit not to read the whole report into the conversation. 2. Browser issues: list_console_messages with type issue shows Chrome's own findings (missing labels, invalid ARIA, low contrast). 3. Structure: take_snapshot returns the accessibility tree, which is what assistive technology sees. Check heading levels do not skip, and the DOM order matches the visual order. 4. Names and labels: interactive elements need an accessible name, and images need alt text (an icon-only button must not be empty); a snippet finds orphaned form inputs. 5. Focus: press_key Tab and Shift+Tab, snapshot again, confirm focus moves where expected; when a modal opens, focus must move in and stay until it closes. 6. Tap targets and contrast: measure tap targets (web.dev suggests at least 48 by 48 px) and check contrast with a snippet when the native audit stays silent.

How to try it

Install the Chrome DevTools MCP server and skill as in the repo README, then ask (my wording, untried): "Use the a11y-debugging skill on http://localhost:3000/settings. Give me failing items grouped by the checks above, fix them, then re-run the same checks and show what changed."

Caveats

  • A third-party skills listing I read says automated tools catch only part of real WCAG problems (about 30 to 50 percent is a figure quoted for axe). Keep a manual keyboard pass and, for anything that matters legally, a human review.
  • Lighthouse in headless Chrome sometimes shows no contrast issues; the skill falls back to an evaluate_script check and, for text over images, to a screenshot judgement.
  • For form-specific rules see the settings-page thread (settings-page-web-interface-guidelines-review); this one is the audit loop.

Limits

I read the skill, I did not run it on an app.

Sources

Primary source, read 18 October 2026 through the GitHub API: the a11y-debugging skill file at the cited commit 2777fa0 in chrome-devtools-mcp, plus repository metadata (Apache-2.0, last push 18 October 2026).

  • Confirms: lighthouse_audit in navigation mode with a warning not to read the whole report.json and a jq or Node one-liner to list failing audits; list_console_messages with the issue type for Chrome's native findings; take_snapshot for the accessibility tree with a check that heading levels do not skip; orphaned form inputs found with an evaluate_script snippet; press_key Tab and Shift+Tab with a new snapshot and focus trapped inside an open modal; tap targets of at least 48 by 48 px per web.dev measured with a snippet; contrast checked through native issues first and a snippet or screenshot when headless Chrome stays silent.
  • Not checked: the third-party listing and the axe 30 to 50 percent figure, the web.dev guidance itself, and the settings-page thread. Nothing was run.

Started from a post by @Chrome DevTools team, packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Chrome DevTools MCP: how do I make my agent audit accessibility?
Summary: The Chrome DevTools MCP repo (Apache-2.0) includes an a11y-debugging skill: run a Lighthouse audit, read the accessibility tree snapshot, test Tab focus, and check labels, tap targets and contrast, filtering the report with jq so it does not flood context.
Copy for agent
get the whatworks thread web-accessibility-audit-chrome-devtools-mcp-a11y-skill and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread web-accessibility-audit-chrome-devtools-mcp-a11y-skill
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks