Best AI Coding Agents to Build Accessible Websites (Per Chrome)

Which AI coding agents get accessibility right, and how much does guidance change the results? Chrome’s tests offer some revealing answers.

Melwyn Joseph Author
Updated November 23, 2026
Dark code editor showing an accessible signup form in HTML, with an AI-written aria-required line highlighted and a green check badge on the corner.

An AI coding agent can create a polished website and still miss the details that make it usable for everyone. A menu might fail with a keyboard, or a form might leave screen reader users guessing. So, which agents handle accessibility best?

This guide compares AI coding agents using Chrome’s accessibility test results, both with and without Modern Web Guidance. It explains which agent and model combinations perform best, what the results mean, and where testing is still needed.

TL;DR

As of November 2026, the best AI coding agents to build accessible websites are Claude Code running Claude Opus 5.5 and Codex CLI running GPT-6.1 Sol.

How these AI coding agents are ranked

Every figure here comes from a public benchmark that Google’s Chrome team built, runs, and publishes in full. We pulled its published results for each agent, compiled them into a single accessibility ranking, and fixed every number to a dated run.

The tasks

Each agent gets the same ordinary web build jobs, things like adding a dialog or a search filter to a starter app. Google then opens the finished page in a real browser and grades it. The prompts never mention accessibility, so what gets measured is what an agent does when nobody brings the subject up.

The five areas checked

Hardest for agents at the top, easiest at the bottom:

  • Reduced motion and contrast
  • Focus management
  • ARIA roles and live regions
  • Keyboard support
  • Form labels

The two scores

Every agent gets both, and the gap between them is the interesting part:

  • Out of the box. What the agent builds on its own, with nothing added to it.
  • With Modern Web Guidance. What the same agent builds with Modern Web Guidance installed, a free set of web development guides Google publishes for coding agents to read. Its accessibility guidance was revised after an expert review before version 1.0 shipped in November 2026.

What the scores are not

These are automated browser checks, and Google is explicit that they do not replace manual or assistive technology testing. A 96% score means 96% of those checks, not a WCAG conformance claim.

The dates

Our figures come from the most recent published runs, dated 20 November 2026 for the three most-tested agents and 8 November for the other two. Google’s own dashboard will show slightly different headline numbers, because it pools each model’s latest run over a rolling seven-day window and ours are frozen to those dates.

The best AI coding agents to build accessible websites

RankAgent and modelOut of the boxWith Modern Web Guidance
1=Claude Code, Claude Opus 5.560%96%
1=Codex CLI, GPT-6.1 Sol60%92%
3Antigravity CLI, Gemini 4 Argon54%95%
4Claude Code, Claude Sonnet 5.552%91%
5Antigravity CLI, Gemini 3.8 Flash48%94%

Note: Each percentage shows how many accessibility checks the rendered page passed out of the total run. Out of the box is what it built, with nothing installed and no mention of accessibility in the prompt. With Modern Web Guidance is that same agent on that same task, with Google’s guides installed for it to read first.

Claude Code with Claude Opus 5.5

Joint highest out of the box, and the highest of all five once the guidance is installed.

60%, rising to 96% with Modern Web Guidance. Its weakest area is reduced motion and contrast at 54%, and that stays its weakest with the guidance installed, at 89%.

Every other area reaches 93% or better once guided, including focus handling at 99%.

Codex CLI with GPT-6.1 Sol

Matched the top score out of the box, then improved less than any other agent once the guidance was installed.

60%, rising to 92% with Modern Web Guidance. That leaves it fourth of the five, despite starting level with the leader.

Its lowest guided area is keyboard support at 79%, well below the 91% and 92% it reaches elsewhere. Its weakest area out of the box is reduced motion and contrast at 51%, second only to Opus 5.5 in that area.

Antigravity CLI with Gemini 4 Argon

Third out of the box and second with the guidance installed, passing Sol in the process.

54%, rising to 95% with Modern Web Guidance. It starts near the bottom on reduced motion and contrast at 38%, then recovers further in that one area than any agent does in any area, finishing at 96%.

It is also the strongest of the five out of the box on form labels, at 91%. One oddity worth knowing: it timed out on 11 tasks without the guidance and on none with it.

Claude Code with Claude Sonnet 5.5

Fourth out of the box and last of the five with the guidance installed.

52%, rising to 91% with Modern Web Guidance. Its weak spot is focus management at 39% out of the box, and it is the only agent that does not reach 100% on form labels once guided.

It was last tested on 8 November against a smaller task set, so treat its position as provisional.

Antigravity CLI with Gemini 3.8 Flash

Lowest of the five out of the box, and the largest gain of any agent once the guidance was installed.

48%, rising to 94% with Modern Web Guidance. That finishes it ahead of two agents that started higher.

Both of its weak areas are the worst recorded anywhere in the set: focus management at 36% and reduced motion and contrast at 37%. It also posts the highest out-of-the-box keyboard support of the five at 77%, which is the one area where the small-sample caution applies. Same 8 November caveat as Sonnet.

What do AI coding agents get wrong about accessibility?

They are good at what a linter can see in the markup and weak at everything that needs a rendered page or a person. Across the same runs, the five things the benchmark checks come out like this:

What is checkedOut of the boxWith Modern Web Guidance
Form labels82%98%
Keyboard support66%88%
ARIA roles and live regions57%94%
Focus management52%93%
Reduced motion and contrast46%92%

A missing form label is visible in the source. So is a missing alt, and so is a button that is really a div. Those are the checks agents mostly pass, and they are the checks static tooling has caught for a decade.

Contrast is not in the source. It is the result of computed colours against a computed background, after cascade, theme and opacity have all had their say. Focus order is not in the source either, because it is whatever the browser does with your DOM order, your tabindex values and your overlays.

A developer on r/webdev described hitting exactly this boundary from the other direction:

“the agent writes valid Baseline CSS (@starting-style, popover, container queries), but still miscalculates rendered contrast or horizontal overflow at 375px mobile widths unless you pair the skill with a headless browser layout check.”

Google’s own grading opens the page in a browser, and color contrast and reduced motion still come last at 46%. A developer who was never looking at the benchmark reached for a headless browser to close the same gap. Two routes, one wall.

The checks themselves stop short of the parts that decide whether a page is usable. A commenter on r/accessibility lists what is left over:

“Things like meaningful alternative text, logical focus order, screen reader announcements, and usability of complex interactions still need human judgment.”

An agent will write alt text that says “chart” and pass. It will give you a focus order that is technically reachable and makes no sense.

What a machine can settle is worth settling automatically. The WebYes accessibility scanner checks the rendered page rather than the diff, which is where computed contrast failures and missing focus indicators actually show up. Whether the alt text means anything, and whether the focus order makes sense, is still your call.

Your accessibility checklist for AI-built pages

Work down this list once per project, then once more before anything ships.

  • Install Google’s guidance on every repo where an agent writes front-end code. It is one command, npx modern-web-guidance@latest install, and it is the single largest change available in this data.
  • Ask for accessibility in the prompt anyway. These scores measure what agents do unprompted, which is the weak case. Asking for keyboard support and visible focus costs you a sentence.
  • Put a rendered check in the loop. Contrast, focus order, and overflow only exist once the page renders, so a headless browser pass or an automated scanner catches what the diff cannot.
  • Tab through every new interactive element yourself. Dialogs, menus and overlays are where focus management fails, and that is the second-weakest area in the whole benchmark.
  • Keep the agent out of the detection step. The most repeated position in the accessibility threads fits in one line on r/accessibility: “keep Claude out of the detection loop and use it to write the detection.”
  • Fix shared components, not pages. On a large site the leverage is in templates, nav and form components, which is where one fix lands on every URL at once.
  • Check the things no tool can judge. Whether alt text means anything, whether focus order makes sense, whether a complex interaction actually works for someone using it.
  • Write your own evals. A contributor on r/GithubCopilot recommends “building out a set of evals that encode the behavior that you want”, which is better evidence for your codebase than any league table including this one.

FAQs

Do AI coding agents build accessible websites by default?

Partly. In Google’s November 2026 runs, the best agents passed 60% of accessibility checks with no prompting, and the weakest area, contrast and reduced motion, sat at 46%.

Which agent produced the most accessible output with no prompting?

Claude Opus 5.5 in Claude Code and GPT-6.1 Sol in Codex CLI tied at 60%. Opus 5.5 pulls ahead once the guidance is installed.

Does installing Modern Web Guidance make agent-written code accessible?

No. It raised pass rates to between 91% and 96% on an automated subset of five dimensions, which is a measured improvement rather than a conformance claim.

Is AI-generated code accessible?

Not reliably. The best agents in Google’s November 2026 benchmark passed 60% of automated accessibility checks unprompted, and the weakest area, contrast and reduced motion, sat at 46%.

Can an AI coding agent make a website WCAG compliant?

No agent can do that on its own. It can get much closer with the right guidance installed, but WCAG conformance is judged by a person testing with real assistive technology.

Do I still have to test the code manually?

Yes. Meaningful alt text, logical focus order and screen reader announcements are judgment calls, and no automated check makes those calls for you.

AUTHOR