AI & Emerging Interfaces

Google's Modern Web Guidance Lifts AI Coding Pass Rate From 52% to 86%

Modern Web Guidance 1.0 ships 203 guides for 250 web-platform features. Google reports Claude Code pass rates rose from 52% to 86% across 229 tasks when agents used the skills.

  • AuthorSophie Lindqvist
  • ChannelAI & Emerging Interfaces
  • Filed
  • Read4 min
Google's Modern Web Guidance Lifts AI Coding Pass Rate From 52% to 86%
12019 / pixabay
  • Modern Web Guidance 1.0.0 shipped November 10, 2026 with 203 guides covering 250 web-platform features
  • Google reports 86% pass rate with guidance versus 52% without, across 229 tasks using Claude Code with Opus 5.5
  • The offline embedding model and BM25 search cut the npm download from 23.5 MB to 8.8 MB
  • The legacy scanner catches about 20% of guide-covered patterns and CI pipelines are not supported
  • Automated accessibility checks passed at 89% with guidance versus 60% without

AI-written web code passed 86% of Google's automated checks with Modern Web Guidance loaded, against 52% without it, across 229 tasks. Google's November 27 dashboard run paired Claude Code with Opus 5.5 on the same tasks in both conditions and used Playwright to verify each finished application in a browser. Modern Web Guidance 1.0.0, the first stable release, shipped on November 10, 2026 as an open-source skill set from Google Chrome, built with Microsoft Edge, Mozilla Firefox and MDN.

The package contains 203 guides covering 250 web-platform features across HTML, CSS, JavaScript, accessibility, security and performance. Chrome engineers wrote the guides. Rather than load every guide into an agent's session, the system runs a local search to fetch material relevant to the task at hand.

Version 1.0 replaced the earlier TensorFlow.js search with an offline embedding model and BM25 ranking. That change cut the npm download from 23.5 MB to 8.8 MB. Once the package is cached, the CLI works offline, and local guide search needs no search API key.

What does the guidance change in generated code?

Google's test had Claude Code build an accordion-style stats component twice, first without guidance and then with it. The unguided version used custom buttons and divs, a grid-rows animation, arrow-key navigation between headers and a region role on each panel.

After retrieving the accordion guide, the agent switched to details and summary elements that open and close without JavaScript, and used interpolate-size to animate to the content's natural height. The guided component required less JavaScript overall.

The guided build omitted arrow-key navigation and panel region roles. The guide explains that keyboard users need arrow keys for scrolling, and that landmarks on every small panel add noise for screen-reader users. Both versions let a browser search find content inside a closed panel and open the panel containing the match.

The guided component added an "Expand all" button using the Invoker Commands API with a click listener as fallback. Its smooth animation ran in Chrome and Edge; in Firefox and Safari the panels opened instantly without breaking.

How does it handle browser compatibility?

Guides account for Baseline browser support when suggesting features. If a feature is not Baseline Widely available, the guide instructs the agent to provide a compatibility fallback, including a conditional polyfill where needed. Projects can configure a different Baseline target; the default is Baseline Widely available. Guides for Origin Trials and volatile features supported by a single browser engine remain searchable but require an explicit opt-in to retrieve.

What are the limits for legacy code?

A local legacy-scan command runs without AI and flags patterns such as max-height accordion tricks and CDN scripts without integrity hashes. It catches only about 20% of the patterns covered by the guides, targeting older code with recognizable fingerprints. The agent double-checks matches to preserve intentional fallbacks and walks the developer through each proposed change rather than applying changes automatically. CI pipeline use is not yet supported.

Problems such as slow-loading pages and missing passkey login leave no searchable scan pattern, so the guides help only when the agent writes new code.

Google also reports that automated accessibility checks in the Claude Code run passed at 89% with guidance, compared with 60% without. Those automated checks are not a full WCAG audit and do not replace manual or assistive-technology testing. A second Google test showed 91% with guidance against about 51% without.

How do you install it?

The recommended installer requires Node.js 22 or later:

npx modern-web-guidance@latest install

CLI installation provides automatic updates; most agent-specific methods do not. Documented options cover Claude Code, Gemini CLI, Codex and other agents. Claude Code users can also install the plug-in from Google's Chrome marketplace. Installations from Claude Code's built-in claude-plugins-official marketplace remain stuck at version 0.0.194, because Anthropic stopped updating third-party plug-ins; Google directs users to its own marketplace for current versions.

An agent may not always follow the instruction to use the skill on its own, so Google suggests requesting it explicitly when necessary.

Better Stack recommends adding Modern Web Guidance to an AI coding toolkit while questioning how much to trust Google's own benchmarks, and advises testing it on a familiar component and checking the result in every browser the audience actually uses. As agents take on more component work, guidance that teaches what to leave out may matter as much as guidance on what to add.

Source: geeky-gadgets.com

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

Staff writer covering people, launches and day-to-day practice in Product and interaction design, design systems at Interface Wire.

205 articles

Related articles

« Previous articleNext article »