
AI-written web code failed fewer checks with Google’s new Modern Web Guidance: Google reports an 86% pass rate, up from 52%. Its searchable guides let your coding agent fetch relevant advice locally rather than load everything at once. Once cached, it can work offline, and its browser-support guidance calls for fallbacks where newer capabilities lack broad support. See why the guidance led an agent to use less JavaScript, as Better Stack explains.
Modern Web Guidance 1.0: Guides for Coding Agents
TL;DR Key Takeaways :
- Modern Web Guidance 1.0 launched on November 10, 2026, offering an open-source skill set by Google Chrome in collaboration with Microsoft Edge, Mozilla Firefox, and MDN.
- Offering 203 guides covering 250 web-platform features for AI coding agents.
- Version 1.0’s local search reduced the npm download from 23.5 MB to 8.8 MB.
- The legacy scanner detects about 20% of guide-covered patterns and does not support CI pipelines.
- Guides default to Baseline Widely available and instruct agents to provide compatibility fallbacks for features below that target.
- Google reports that Claude Code with Opus 5.5 passed 86% of checks with guidance versus 52% without it across 229 tasks.
Modern Web Guidance is a collection of Google Chrome skills that gives AI coding agents guidance on web-platform features and browser compatibility, using guides written by Chrome engineers. Its first stable release arrived on November 10, 2026, with stewardship from the Chrome, Microsoft Edge, Mozilla Firefox and MDN teams alongside the web development community.
Version 1.0.0 shipped with 203 guides covering 250 web-platform features. The guides cover HTML, CSS, JavaScript, accessibility, security and performance.
Find Relevant Guides and Browser Fallbacks
Rather than load every guide into an agent’s session, Modern Web Guidance uses local search to find material relevant to the task. Version 1.0 replaced its earlier TensorFlow.js search with an offline embedding model and BM25, reducing the npm download from 23.5 MB to 8.8 MB.
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 such as the max-height hack. The agent double-checks matches to preserve intentional fallbacks and walks you through each proposed change rather than making changes automatically.
CI pipeline use is not yet supported. Slow-loading pages and missing passkey login leave no searchable scan pattern, so for those issues the guides help only when the agent writes new code.
Guides account for Baseline browser support when suggesting features. If a feature is not Baseline Widely available, they instruct the agent to provide a compatibility fallback, including a conditional polyfill where needed. You can configure another Baseline target for a project; otherwise, the guidance defaults to Baseline Widely available.
Experimental Origin Trial guides and guides for volatile features supported by a single browser engine remain searchable, but retrieving them requires an explicit opt-in.
Here is a selection of other guides from our extensive library of content you may find of interest on Claude Code and skills.
- Anthropic Adds Persistent JavaScript Mods to Claude Code
- 100+ Claude Code Skills Tested : 6 Clear Winners
- Anthropic Engineer Explains How to Verify Claude Code Builds
- Anthropic Officially Launches Claude 2.0 Across 95 Countries
Install the Skills for a Coding Agent
The recommended installer requires Node.js 22 or later and uses this command:
npx modern-web-guidance@latest install
CLI installation provides automatic updates, while most agent-specific methods do not. Documented options include Claude Code, Gemini CLI, Codex and other coding agents. Claude Code users can also add the plug-in from Google’s Chrome marketplace.
Installations from Claude Code’s built-in claude-plugins-official marketplace are stuck at version 0.0.194. Google directs users to its own marketplace for updates after Anthropic stopped updating third-party plug-ins.
An agent may not always follow the instruction to use the skill, so Google suggests requesting it explicitly when necessary. Once the package is cached, the CLI can work offline, and local guide search does not require a search API key.
Use Native HTML and Accessibility Guidance
In a test, Claude Code with Opus 5.5 built an accordion-style stats component, first without the guidance and then with it, using a prompt from the Modern Web Guidance page. The guided agent could see the first component and kept its data and colors, so the comparison was a modernization test rather than a blind test.
The first component 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 guided agent used details and summary tags that opened and closed without JavaScript, and interpolate-size to animate to the content’s natural height, requiring less JavaScript overall.
The guided component omitted the 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 allowed a browser search to find content inside a closed panel, opening the panel containing the match.
The guided component also included an Expand all button using the Invoker Commands API, with a click listener as a fallback. Its smooth animation worked in Chrome and Edge; in Firefox and Safari, the panels opened instantly without breaking.
Read Google’s Evaluation Alongside the Results
Google’s evaluation pairs tasks with and without the guidance and uses Playwright to check the finished application in a browser. In a November 27 dashboard run, Google reports that Claude Code with Opus 5.5 passed 86% of checks with guidance, against 52% without it, across 229 tasks. Google, which made the product, also reports a test result of 91% with guidance versus about 51% without it.
Google also reports that automated accessibility checks in that Claude Code run passed at 89% with guidance, compared with 60% without it. Those automated checks are not a full WCAG audit and do not replace manual or assistive-technology testing.
In our view, the most useful part is that the guides teach an agent what to leave out, not only which newer features to use. Dropping habits that add noise for some users is a judgment call that plain code generation often misses. The accordion guide’s advice to leave arrow keys for scrolling and omit unnecessary panel landmarks illustrates that value. We would treat the maker’s own benchmark as a starting point, not proof. Before relying on it, try it on a component you know well and check the result in every browser your own audience uses.
Better Stack recommends adding Modern Web Guidance to an AI coding toolkit, while questioning how much to trust Google’s own benchmarks. It suits developers who want help modernizing web components and are prepared to review changes with their agent. It is not an unattended upgrade system for older projects: its legacy scanner catches only about 20% of guide-covered patterns, and CI use is not supported.
Media Credit: Better Stack
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.