Skip to content

Keep your coding agent up to date with the latest web best practices

Release v0.0.186

github-actions[bot]56c61c9ee79a
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 95843fb..094314b 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -8,7 +8,7 @@
"name": "modern-web-guidance",
"source": "./",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.185"
+ "version": "0.0.186"
}
]
}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 77a419a..7cde8f8 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.185",
+ "version": "0.0.186",
"author": {
"name": "Google Chrome"
}
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index 0bca76a..f29ff91 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Modern Web Guidance is an agent skill and CLI tool designed to help AI coding agents build web applications using modern, secure, and high-performance APIs rather than outdated workarounds. Supported by the Google Chrome team, it injects expert-curated web platform best practices directly into an agent's context window to prevent the generation of bloated, legacy code.",
- "version": "0.0.185",
+ "version": "0.0.186",
"author": {
"name": "Google Chrome"
}
diff --git a/.github/plugin/plugin.json b/.github/plugin/plugin.json
index 0bca76a..f29ff91 100644
--- a/.github/plugin/plugin.json
+++ b/.github/plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Modern Web Guidance is an agent skill and CLI tool designed to help AI coding agents build web applications using modern, secure, and high-performance APIs rather than outdated workarounds. Supported by the Google Chrome team, it injects expert-curated web platform best practices directly into an agent's context window to prevent the generation of bloated, legacy code.",
- "version": "0.0.185",
+ "version": "0.0.186",
"author": {
"name": "Google Chrome"
}
diff --git a/.grok-plugin/marketplace.json b/.grok-plugin/marketplace.json
index 95843fb..094314b 100644
--- a/.grok-plugin/marketplace.json
+++ b/.grok-plugin/marketplace.json
@@ -8,7 +8,7 @@
"name": "modern-web-guidance",
"source": "./",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.185"
+ "version": "0.0.186"
}
]
}
diff --git a/README.md b/README.md
index b11f389..b90a153 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ _View an example:_ [the `navigation-drawer` guide](https://github.com/GoogleChro
#### The full list
<details>
-<summary><strong>103 modern web features</strong></summary>
+<summary><strong>104 modern web features</strong></summary>
### CSS & Layout (51 features)
@@ -121,26 +121,26 @@ _View an example:_ [the `navigation-drawer` guide](https://github.com/GoogleChro
| [&lt;link rel="preload">](https://web-platform-dx.github.io/web-features-explorer/features/link-rel-preload/) | [inert](https://web-platform-dx.github.io/web-features-explorer/features/inert/) | [popover="hint"](https://web-platform-dx.github.io/web-features-explorer/features/popover-hint/) |
| [blocking="render"](https://web-platform-dx.github.io/web-features-explorer/features/blocking-render/) | [Interest invokers](https://web-platform-dx.github.io/web-features-explorer/features/interest-invokers/) | |
-### JavaScript & APIs (32 features)
+### JavaScript & APIs (33 features)
| | | |
| :--- | :--- | :--- |
-| [AbortController and AbortSignal](https://web-platform-dx.github.io/web-features-explorer/features/aborting/) | [Language detector](https://web-platform-dx.github.io/web-features-explorer/features/languagedetector/) | [Scheduler API](https://web-platform-dx.github.io/web-features-explorer/features/scheduler/) |
-| [document.modelContext](https://web-platform-dx.github.io/web-features-explorer/features/document-modelcontext/) | [LanguageModel](https://web-platform-dx.github.io/web-features-explorer/features/languagemodel/) | [Speculation rules](https://web-platform-dx.github.io/web-features-explorer/features/speculation-rules/) |
-| [enterkeyhint](https://web-platform-dx.github.io/web-features-explorer/features/enterkeyhint/) | [Lazy-loading images and iframes](https://web-platform-dx.github.io/web-features-explorer/features/loading-lazy/) | [Summarizer](https://web-platform-dx.github.io/web-features-explorer/features/summarizer/) |
-| [Event timing](https://web-platform-dx.github.io/web-features-explorer/features/event-timing/) | [Long animation frames](https://web-platform-dx.github.io/web-features-explorer/features/long-animation-frames/) | [SVG](https://web-platform-dx.github.io/web-features-explorer/features/svg/) |
-| [Federated credential management](https://web-platform-dx.github.io/web-features-explorer/features/fedcm/) | [Navigation API](https://web-platform-dx.github.io/web-features-explorer/features/navigation/) | [Temporal](https://web-platform-dx.github.io/web-features-explorer/features/temporal/) |
-| [Fetch](https://web-platform-dx.github.io/web-features-explorer/features/fetch/) | [Page visibility](https://web-platform-dx.github.io/web-features-explorer/features/page-visibility/) | [Top-level await](https://web-platform-dx.github.io/web-features-explorer/features/top-level-await/) |
-| [fetchLater](https://web-platform-dx.github.io/web-features-explorer/features/fetchlater/) | [Page visibility state](https://web-platform-dx.github.io/web-features-explorer/features/page-visibility-state/) | [Translator](https://web-platform-dx.github.io/web-features-explorer/features/translator/) |
-| [Form-associated WebMCP attributes](https://web-platform-dx.github.io/web-features-explorer/features/declarative-webmcp/) | [Partitioned cookies](https://web-platform-dx.github.io/web-features-explorer/features/partitioned-cookies/) | [User agent client hints](https://web-platform-dx.github.io/web-features-explorer/features/ua-client-hints/) |
-| [inputmode](https://web-platform-dx.github.io/web-features-explorer/features/inputmode/) | [Permissions policy](https://web-platform-dx.github.io/web-features-explorer/features/permissions-policy/) | [Web authentication](https://web-platform-dx.github.io/web-features-explorer/features/webauthn/) |
-| [Intersection observer](https://web-platform-dx.github.io/web-features-explorer/features/intersection-observer/) | [Registered custom properties](https://web-platform-dx.github.io/web-features-explorer/features/registered-custom-properties/) | [Web authentication signal methods](https://web-platform-dx.github.io/web-features-explorer/features/webauthn-signals/) |
-| [Intl.DurationFormat](https://web-platform-dx.github.io/web-features-explorer/features/intl-duration-format/) | [Resize observer](https://web-platform-dx.github.io/web-features-explorer/features/resize-observer/) | |
+| [AbortController and AbortSignal](https://web-platform-dx.github.io/web-features-explorer/features/aborting/) | [Keyboard events](https://web-platform-dx.github.io/web-features-explorer/features/keyboard-events/) | [Resize observer](https://web-platform-dx.github.io/web-features-explorer/features/resize-observer/) |
+| [document.modelContext](https://web-platform-dx.github.io/web-features-explorer/features/document-modelcontext/) | [Language detector](https://web-platform-dx.github.io/web-features-explorer/features/languagedetector/) | [Scheduler API](https://web-platform-dx.github.io/web-features-explorer/features/scheduler/) |
+| [enterkeyhint](https://web-platform-dx.github.io/web-features-explorer/features/enterkeyhint/) | [LanguageModel](https://web-platform-dx.github.io/web-features-explorer/features/languagemodel/) | [Speculation rules](https://web-platform-dx.github.io/web-features-explorer/features/speculation-rules/) |
+| [Event timing](https://web-platform-dx.github.io/web-features-explorer/features/event-timing/) | [Lazy-loading images and iframes](https://web-platform-dx.github.io/web-features-explorer/features/loading-lazy/) | [Summarizer](https://web-platform-dx.github.io/web-features-explorer/features/summarizer/) |
+| [Federated credential management](https://web-platform-dx.github.io/web-features-explorer/features/fedcm/) | [Long animation frames](https://web-platform-dx.github.io/web-features-explorer/features/long-animation-frames/) | [SVG](https://web-platform-dx.github.io/web-features-explorer/features/svg/) |
+| [Fetch](https://web-platform-dx.github.io/web-features-explorer/features/fetch/) | [Navigation API](https://web-platform-dx.github.io/web-features-explorer/features/navigation/) | [Temporal](https://web-platform-dx.github.io/web-features-explorer/features/temporal/) |
+| [fetchLater](https://web-platform-dx.github.io/web-features-explorer/features/fetchlater/) | [Page visibility](https://web-platform-dx.github.io/web-features-explorer/features/page-visibility/) | [Top-level await](https://web-platform-dx.github.io/web-features-explorer/features/top-level-await/) |
+| [Form-associated WebMCP attributes](https://web-platform-dx.github.io/web-features-explorer/features/declarative-webmcp/) | [Page visibility state](https://web-platform-dx.github.io/web-features-explorer/features/page-visibility-state/) | [Translator](https://web-platform-dx.github.io/web-features-explorer/features/translator/) |
+| [inputmode](https://web-platform-dx.github.io/web-features-explorer/features/inputmode/) | [Partitioned cookies](https://web-platform-dx.github.io/web-features-explorer/features/partitioned-cookies/) | [User agent client hints](https://web-platform-dx.github.io/web-features-explorer/features/ua-client-hints/) |
+| [Intersection observer](https://web-platform-dx.github.io/web-features-explorer/features/intersection-observer/) | [Permissions policy](https://web-platform-dx.github.io/web-features-explorer/features/permissions-policy/) | [Web authentication](https://web-platform-dx.github.io/web-features-explorer/features/webauthn/) |
+| [Intl.DurationFormat](https://web-platform-dx.github.io/web-features-explorer/features/intl-duration-format/) | [Registered custom properties](https://web-platform-dx.github.io/web-features-explorer/features/registered-custom-properties/) | [Web authentication signal methods](https://web-platform-dx.github.io/web-features-explorer/features/webauthn-signals/) |
</details>
<details>
-<summary><strong>131 real-world developer use cases</strong></summary>
+<summary><strong>132 real-world developer use cases</strong></summary>
<h3>accessibility</h3>
@@ -181,6 +181,7 @@ _View an example:_ [the `navigation-drawer` guide](https://github.com/GoogleChro
- **[branded-select-styling](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/branded-select-styling.md)**: Create custom select elements whose button, picker, arrow icon, and checkmark all seamlessly match your brand or design system's typography, colors, spacing, and border treatments.
- **[custom-select-picker-layouts](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/custom-select-picker-layouts.md)**: Create custom select pickers whose options are positioned in unique or interesting ways, rather than the traditional stacked list of options.
- **[form-fields-automatically-fit-contents](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/form-fields-automatically-fit-contents.md)**: Allow form fields to grow and shrink to fit the user input, e.g. as the user types or selects a different option. Apply maximum and minimum size limits to create dynamic and responsive form fields that conform with the page design.
+- **[ime-safe-enter-submit](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/ime-safe-enter-submit.md)**: Implement keyboard text submission (like enter-to-submit in chat/textareas) safely for IME (Input Method Editor) users to prevent premature submission of incomplete text.
- **[required-field-feedback](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/required-field-feedback.md)**: Provide error message for required form fields that were skipped or left empty *only* after user interaction, to avoid preemptive errors and ensure feedback is timely and contextually relevant to the user's flow.
- **[rich-media-picker](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/rich-media-picker.md)**: Create a custom select component whose options can contain complex HTML formatting (e.g. images, icons, and other rich formatting) rather than just plain text.
- **[select-menu-interaction](https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/forms/select-menu-interaction.md)**: Validate that a non-default option has been chosen in a select menu only after the user has interacted with the control.
@@ -427,16 +428,16 @@ We developed a robust eval harness to ensure that the content is **empirically p
<!-- INJECT_EVAL_RESULTS_START -->
| Date | Agent + Model | Tasks / Assertions | Unguided → Guided (Uplift) |
| :--- | :--- | :---: | :---: |
+| Aug 31 | codex_cli (gpt-5.6-sol) | 132 / 1124 | 59% → 82% (**+23pp**) |
+| Aug 31 | claude_code (opus-5) | 133 / 1086 | 59% → 90% (**+31pp**) |
+| Aug 31 | antigravity (gemini-3.7-flash-medium) | 133 / 1118 | 59% → 90% (**+31pp**) |
+| Aug 28 | codex_cli (gpt-5.6-sol) | 132 / 1124 | 59% → 85% (**+26pp**) |
+| Aug 28 | claude_code (opus-5) | 132 / 1092 | 57% → 90% (**+33pp**) |
+| Aug 28 | antigravity (gemini-3.7-flash-medium) | 132 / 1124 | 59% → 91% (**+32pp**) |
+| Aug 26 | codex_cli (gpt-5.6-sol) | 132 / 1124 | 59% → 81% (**+22pp**) |
+| Aug 26 | claude_code (opus-5) | 132 / 1080 | 57% → 90% (**+33pp**) |
+| Aug 26 | antigravity (gemini-3.7-flash-medium) | 132 / 1124 | 60% → 91% (**+31pp**) |
| Aug 24 | claude_code (opus-5) | 131 / 1033 | 57% → 92% (**+35pp**) |
-| Aug 24 | antigravity (gemini-3.7-flash-medium) | 131 / 1118 | 60% → 89% (**+29pp**) |
-| Aug 21 | codex_cli (gpt-5.6-sol) | 131 / 1118 | 60% → 81% (**+21pp**) |
-| Aug 21 | claude_code (opus-5) | 131 / 1086 | 57% → 90% (**+33pp**) |
-| Aug 21 | antigravity (gemini-3.7-flash-medium) | 131 / 1118 | 60% → 90% (**+30pp**) |
-| Aug 17 | codex_cli (gpt-5.6-sol) | 130 / 1112 | 60% → 83% (**+23pp**) |
-| Aug 17 | claude_code (opus-5) | 130 / 1033 | 58% → 92% (**+34pp**) |
-| Aug 17 | antigravity (gemini-3.7-flash-medium) | 130 / 1112 | 64% → 90% (**+26pp**) |
-| Aug 14 | codex_cli (gpt-5.6-sol) | 132 / 1125 | 60% → 82% (**+22pp**) |
-| Aug 14 | claude_code (opus-5) | 132 / 1036 | 56% → 90% (**+34pp**) |
<!-- INJECT_EVAL_RESULTS_END -->
diff --git a/gemini-extension.json b/gemini-extension.json
index 77a419a..7cde8f8 100644
--- a/gemini-extension.json
+++ b/gemini-extension.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.185",
+ "version": "0.0.186",
"author": {
"name": "Google Chrome"
}
diff --git a/kimi.plugin.json b/kimi.plugin.json
index fbe9ff9..c4b9347 100644
--- a/kimi.plugin.json
+++ b/kimi.plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Modern Web Guidance is an agent skill and CLI tool designed to help AI coding agents build web applications using modern, secure, and high-performance APIs rather than outdated workarounds. Supported by the Google Chrome team, it injects expert-curated web platform best practices directly into an agent's context window to prevent the generation of bloated, legacy code.",
- "version": "0.0.185",
+ "version": "0.0.186",
"author": {
"name": "Google Chrome"
},
diff --git a/package.json b/package.json
index d3e063a..0d64a24 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"displayName": "Modern Web Guidance",
"description": "Keep your agent up to date on the latest web best practices.",
"license": "Apache-2.0",
- "version": "0.0.185",
+ "version": "0.0.186",
"publisher": "GoogleChrome",
"repository": {
"url": "https://github.com/GoogleChrome/modern-web-guidance-src"
diff --git a/skills/modern-web-guidance/SKILL.md b/skills/modern-web-guidance/SKILL.md
index 4e5c5fb..d5dbd8d 100644
--- a/skills/modern-web-guidance/SKILL.md
+++ b/skills/modern-web-guidance/SKILL.md
@@ -35,7 +35,7 @@ Must use this skill:
Search with an action-oriented query summarizing what you want to achieve using the `search` command. Run `modern-web-guidance` directly with `npx`.
```sh
-npx -y modern-web-guidance@latest search "<query>" --skill-version 2026_05_16-c5e78707
+npx -y modern-web-guidance@latest search "<query>" --skill-version 2026_08_31-6ba3cecd
```
**Example Output**:
@@ -75,12 +75,23 @@ Once you have a relevant `id` from the search results, call this script using th
npx -y modern-web-guidance@latest retrieve "<id>"
```
+If the output is truncated, you must repeat the command but redirect to a file and read that file.
**Example Output**:
`The markdown content of the guide describing implementation steps...`
-## Using npx
+---
+
+### Step 3. Verify Guidance Compliance
+
+When generating or modifying code, cross-check the implementation against the retrieved guide before concluding:
+- **Applicable Guidance & Fallbacks**: Ensure the relevant modern patterns and necessary fallback strategies from the guide are correctly applied, without forcing unrequested features.
+- **Task Fulfillment**: Confirm that the implementation fully satisfies the user's request.
+## Using npx / pnpx
+
+- Prefer `pnpx` over `npx` if `pnpm` is available (note: `pnpx` does not use the `-y` flag).
+- When requesting tool permissions, allowlist `npx -y modern-web-guidance@latest *` specifically (or `pnpx modern-web-guidance@latest *`), never bare `npx *` or `pnpx *`.
- IMPORTANT: on Windows, using `npx` may fail. Use `npx.cmd ...` instead.
- Network access is required for fetching npm packages needed by the task.
- If the `npx -y modern-web-guidance…` command hangs, you may be offline. Try running again in offline
@@ -94,7 +105,6 @@ npx -y modern-web-guidance@latest retrieve "<id>"
- These guides are usually framework-agnostic; adapt them correctly to your setup.
- Do not hallucinate guides or ignore them; they represent the preferred local standard for the user's project.
-
## Interpreting Browser Support & Fallbacks
* **Default Behavior**: All guides assume **Baseline Widely available** features are safe to use without fallbacks. For features that are not Baseline widely available, you **MUST** follow the fallback recommendations in the guide, unless the user has specified a custom browser support policy.
diff --git a/skills/modern-web-guidance/guides/accessibility/accessible-error-announcement.md b/skills/modern-web-guidance/guides/accessibility/accessible-error-announcement.md
index 6d011dc..a20796e 100644
--- a/skills/modern-web-guidance/guides/accessibility/accessible-error-announcement.md
+++ b/skills/modern-web-guidance/guides/accessibility/accessible-error-announcement.md
@@ -97,7 +97,8 @@ document.addEventListener('input', (event) => {
## Fallbacking & Browser Support
-The `:user-invalid` pseudo-class is widely supported (Baseline 2023), but older browsers need a fallback.
+Baseline status for :user-valid and :user-invalid: Widely available. It's been Baseline since 2023-11-02.
+Supported by: Chrome 119 (Oct 2023), Edge 119 (Nov 2023), Firefox 88 (Apr 2021), and Safari 16.5 (May 2023).
### Feature Detection
You can check for support in CSS and JavaScript.
diff --git a/skills/modern-web-guidance/guides/built-in-ai/language-detection.md b/skills/modern-web-guidance/guides/built-in-ai/language-detection.md
index 3670a3f..f6ca86e 100644
--- a/skills/modern-web-guidance/guides/built-in-ai/language-detection.md
+++ b/skills/modern-web-guidance/guides/built-in-ai/language-detection.md
@@ -1,3 +1,5 @@
+# Language Detection
+
The **Language Detector API** is a client-side web API designed to identify the language of a given text string. By performing detection locally in the browser, it enhances user privacy and reduces the need for heavy external libraries or costly server-side calls.
## Key Use Cases
diff --git a/skills/modern-web-guidance/guides/built-in-ai/language-model.md b/skills/modern-web-guidance/guides/built-in-ai/language-model.md
index 2c10c87..f333729 100644
--- a/skills/modern-web-guidance/guides/built-in-ai/language-model.md
+++ b/skills/modern-web-guidance/guides/built-in-ai/language-model.md
@@ -1,3 +1,5 @@
+# Language Model
+
The Prompt API allows developers to run natural language processing tasks directly in the browser using **Gemini Nano**. This built-in AI approach ensures user privacy, reduces server costs, and enables offline functionality.
## 1. Getting Started and Hardware Requirements
diff --git a/skills/modern-web-guidance/guides/built-in-ai/prompt-api.md b/skills/modern-web-guidance/guides/built-in-ai/prompt-api.md
index 2c10c87..f333729 100644
--- a/skills/modern-web-guidance/guides/built-in-ai/prompt-api.md
+++ b/skills/modern-web-guidance/guides/built-in-ai/prompt-api.md
@@ -1,3 +1,5 @@
+# Language Model
+
The Prompt API allows developers to run natural language processing tasks directly in the browser using **Gemini Nano**. This built-in AI approach ensures user privacy, reduces server costs, and enables offline functionality.
## 1. Getting Started and Hardware Requirements
diff --git a/skills/modern-web-guidance/guides/built-in-ai/summarizer.md b/skills/modern-web-guidance/guides/built-in-ai/summarizer.md
index ce5a019..e76b895 100644
--- a/skills/modern-web-guidance/guides/built-in-ai/summarizer.md
+++ b/skills/modern-web-guidance/guides/built-in-ai/summarizer.md
@@ -1,3 +1,5 @@
+# Summarizer
+
The **Summarizer API** allows web developers to offer local, AI-powered text distillation directly within the browser using **Gemini Nano in Chrome or Phi in Edge**. This API supports various formats, including key points, headlines, and TL;DRs, while operating entirely on-device to ensure user privacy.
---
diff --git a/skills/modern-web-guidance/guides/built-in-ai/translator.md b/skills/modern-web-guidance/guides/built-in-ai/translator.md
index 9bec3c6..38fb76f 100644
--- a/skills/modern-web-guidance/guides/built-in-ai/translator.md
+++ b/skills/modern-web-guidance/guides/built-in-ai/translator.md
@@ -1,3 +1,5 @@
+# Translator
+
The **Translator API** allows developers to perform client-side text translation using built-in AI models in Chrome and Edge. This approach eliminates the need for cloud-based translation services for ephemeral content, reducing costs and improving privacy by keeping data on the user's device.
diff --git a/skills/modern-web-guidance/guides/css/animate-to-intrinsic-sizes.md b/skills/modern-web-guidance/guides/css/animate-to-intrinsic-sizes.md
index fdcf9b8..6b7302a 100644
--- a/skills/modern-web-guidance/guides/css/animate-to-intrinsic-sizes.md
+++ b/skills/modern-web-guidance/guides/css/animate-to-intrinsic-sizes.md
@@ -109,6 +109,7 @@ triggerBtn?.addEventListener('click', () => {
interpolate-size has limited availability.
Supported by: Chrome 129 (Sep 2024) and Edge 129 (Sep 2024).
Unsupported in: Firefox and Safari.
+
calc-size() has limited availability.
Supported by: Chrome 129 (Sep 2024) and Edge 129 (Sep 2024).
Unsupported in: Firefox and Safari.
diff --git a/skills/modern-web-guidance/guides/css/calculate-with-intrinsic-sizes.md b/skills/modern-web-guidance/guides/css/calculate-with-intrinsic-sizes.md
index af64469..805c14a 100644
--- a/skills/modern-web-guidance/guides/css/calculate-with-intrinsic-sizes.md
+++ b/skills/modern-web-guidance/guides/css/calculate-with-intrinsic-sizes.md
@@ -1,3 +1,5 @@
+# Calculate With Intrinsic Sizes
+
`calc-size()` is a CSS function for performing mathematical operations on intrinsic sizing keywords like `auto`, `min-content`, and `fit-content`. **MANDATORY**: Use `calc-size()` only when you need to modify an intrinsic size with a calculation or constraint; for simple keyword-based animations (e.g., `0` to `auto`), you must use `interpolate-size: allow-keywords`.
## Implementation Steps
@@ -155,6 +157,7 @@ You can use `calc-size()` with any CSS math function—such as `min()`, `max()`,
calc-size() has limited availability.
Supported by: Chrome 129 (Sep 2024) and Edge 129 (Sep 2024).
Unsupported in: Firefox and Safari.
+
interpolate-size has limited availability.
Supported by: Chrome 129 (Sep 2024) and Edge 129 (Sep 2024).
Unsupported in: Firefox and Safari.
diff --git a/skills/modern-web-guidance/guides/css/child-state-based-styling.md b/skills/modern-web-guidance/guides/css/child-state-based-styling.md
index 645ac0c..2c9a314 100644
--- a/skills/modern-web-guidance/guides/css/child-state-based-styling.md
+++ b/skills/modern-web-guidance/guides/css/child-state-based-styling.md
@@ -1,3 +1,5 @@
+# Child State Based Styling
+
Historically, CSS selectors could only traverse downwards—you could style a child based on its parent, but not a parent based on its child. The `:has()` pseudo-class changes this, allowing you to conditionally style a container element depending on the presence or state of its descendants.
By combining `:has()` with state pseudo-classes (like `:checked`, `:focus`, `:valid`, `:invalid`, or `:not()`), you can build complex, interactive UI components entirely in CSS, without needing JavaScript to toggle "modifier" classes (like `.is-active` or `.has-error`) on parent elements.
diff --git a/skills/modern-web-guidance/guides/css/content-based-styling.md b/skills/modern-web-guidance/guides/css/content-based-styling.md
index 4454cca..2841d56 100644
--- a/skills/modern-web-guidance/guides/css/content-based-styling.md
+++ b/skills/modern-web-guidance/guides/css/content-based-styling.md
@@ -1,3 +1,5 @@
+# Content Based Styling
+
Historically, applying different layouts to a component based on its content required either JavaScript or conditional logic in your HTML templating language to inject modifier classes (like `.card--has-image` or `.card--text-only`).
The `:has()` pseudo-class eliminates this need by acting as a parent selector. It allows you to conditionally style a container element based on the presence or absence of specific descendant elements.
diff --git a/skills/modern-web-guidance/guides/css/css-layout.md b/skills/modern-web-guidance/guides/css/css-layout.md
index 3c46dad..63feb9d 100644
--- a/skills/modern-web-guidance/guides/css/css-layout.md
+++ b/skills/modern-web-guidance/guides/css/css-layout.md
@@ -205,8 +205,10 @@ Query the size (or computed style) of an ancestor container rather than the view
Baseline status for <dialog>: Widely available. It's been Baseline since 2022-03-14.
Supported by: Chrome 37 (Aug 2014), Edge 79 (Jan 2020), Firefox 98 (Mar 2022), and Safari 15.4 (Mar 2022).
+
Baseline status for Popover: Newly available. It's been Baseline since 2025-01-27.
Supported by: Chrome 116 (Aug 2023), Edge 116 (Aug 2023), Firefox 125 (Apr 2024), Safari 17 (Sep 2023), and Safari iOS 18.3 (Jan 2025).
+
Anchor positioning is not natively supported by any major browser yet.
**When to use each overlay primitive:**
@@ -228,6 +230,7 @@ Anchor positioning is not natively supported by any major browser yet.
Baseline status for scrollbar-gutter: Newly available. It's been Baseline since 2024-12-11.
Supported by: Chrome 94 (Sep 2021), Edge 94 (Sep 2021), Firefox 97 (Feb 2022), and Safari 18.2 (Dec 2024).
+
line-clamp is not natively supported by any major browser yet.
Manage layout shifts, scrollbars, and clipping predictably.
diff --git a/skills/modern-web-guidance/guides/css/design-token-reactivity.md b/skills/modern-web-guidance/guides/css/design-token-reactivity.md
index 2c80be8..2d43460 100644
--- a/skills/modern-web-guidance/guides/css/design-token-reactivity.md
+++ b/skills/modern-web-guidance/guides/css/design-token-reactivity.md
@@ -1,3 +1,5 @@
+# Design Token Reactivity
+
## Background & Overview
Often an author will need to make contextual changes to the design of a component. Historically authors would need to use selectors to apply such changes. This often meant that while many of their design tokens could exist as custom properties, higher-order design tokens could only be encoded as a selector pattern (i.e. using a class name or attribute convention) or as props/context in a JavaScript framework.
diff --git a/skills/modern-web-guidance/guides/css/fluid-scaling.md b/skills/modern-web-guidance/guides/css/fluid-scaling.md
index 69f1ae2..1985bec 100644
--- a/skills/modern-web-guidance/guides/css/fluid-scaling.md
+++ b/skills/modern-web-guidance/guides/css/fluid-scaling.md
@@ -1,3 +1,5 @@
+# Fluid Scaling
+
## Overview
Fluid scaling allows components to adjust their internal proportions (like font sizes and spacing) based on their current dimensions. This creates a more cohesive design than jumping between fixed breakpoints.
diff --git a/skills/modern-web-guidance/guides/css/individual-transform-properties.md b/skills/modern-web-guidance/guides/css/individual-transform-properties.md
index e654432..728d0c9 100644
--- a/skills/modern-web-guidance/guides/css/individual-transform-properties.md
+++ b/skills/modern-web-guidance/guides/css/individual-transform-properties.md
@@ -1,3 +1,5 @@
+# Individual Transform Properties
+
The `transform` property allows you to apply multiple transformations in a specified order, but any changes to a single transformation require re-specifying the entire transformation chain. This makes it tricky to animate or transition a single transformation.
The individual CSS transform properties (`translate`, `rotate`, and `scale`) allow you to apply transformations independently of the `transform` property. This approach makes it simpler to override a single transformation, for instance on `:hover`.
diff --git a/skills/modern-web-guidance/guides/css/overflow-clipping-control.md b/skills/modern-web-guidance/guides/css/overflow-clipping-control.md
index 5774cda..5e0f143 100644
--- a/skills/modern-web-guidance/guides/css/overflow-clipping-control.md
+++ b/skills/modern-web-guidance/guides/css/overflow-clipping-control.md
@@ -107,6 +107,7 @@ The following examples demonstrate dynamic container layout controls, showcasing
Baseline status for overflow: clip: Widely available. It's been Baseline since 2022-09-12.
Supported by: Chrome 90 (Apr 2021), Edge 90 (Apr 2021), Firefox 81 (Sep 2020), and Safari 16 (Sep 2022).
+
overflow-clip-margin has limited availability.
Supported by: Firefox 148 (Feb 2026).
Unsupported in: Chrome, Edge, and Safari.
diff --git a/skills/modern-web-guidance/guides/css/size-aware-styling.md b/skills/modern-web-guidance/guides/css/size-aware-styling.md
index 46a9a80..dccb552 100644
--- a/skills/modern-web-guidance/guides/css/size-aware-styling.md
+++ b/skills/modern-web-guidance/guides/css/size-aware-styling.md
@@ -1,3 +1,5 @@
+# Size Aware Styling
+
## Overview
Size-aware styling allows components to change their layout or appearance based on the space available to them, rather than the size of the whole screen. This is useful for components like cards or navigation bars that might be placed in different parts of a layout (like a narrow sidebar or a wide main area).
diff --git a/skills/modern-web-guidance/guides/css/style-parent-with-has.md b/skills/modern-web-guidance/guides/css/style-parent-with-has.md
index ec5fedd..99e6f5a 100644
--- a/skills/modern-web-guidance/guides/css/style-parent-with-has.md
+++ b/skills/modern-web-guidance/guides/css/style-parent-with-has.md
@@ -56,7 +56,8 @@ By combining `:has()` with `:user-invalid`, we can declaratively style any ances
## Fallbacking & Browser Support
-The `:user-invalid` pseudo-class is widely supported (Baseline 2023), but if you need to support older browsers, you must ensure consistency of the implementation.
+Baseline status for :user-valid and :user-invalid: Widely available. It's been Baseline since 2023-11-02.
+Supported by: Chrome 119 (Oct 2023), Edge 119 (Nov 2023), Firefox 88 (Apr 2021), and Safari 16.5 (May 2023).
### CSS for Fallback
We use a class `.has-error` on the parent to mimic the `:has()` behavior.
diff --git a/skills/modern-web-guidance/guides/forms/autofill-payment-form.md b/skills/modern-web-guidance/guides/forms/autofill-payment-form.md
index 1c720c5..4848b21 100644
--- a/skills/modern-web-guidance/guides/forms/autofill-payment-form.md
+++ b/skills/modern-web-guidance/guides/forms/autofill-payment-form.md
@@ -117,8 +117,10 @@ Add the `required` attribute to mandatory fields. Modern browsers automatically
Baseline status for enterkeyhint: Widely available. It's been Baseline since 2021-11-02.
Supported by: Chrome 77 (Sep 2019), Edge 79 (Jan 2020), Firefox 94 (Nov 2021), Safari 13.1 (Mar 2020), and Safari iOS 13.4 (Mar 2020).
+
Baseline status for Email, telephone, and URL <input> types: Widely available. It's been Baseline since 2015-07-29.
Supported by: Chrome 5 (May 2010), Edge 12 (Jul 2015), Firefox 4 (Mar 2011), Safari 5 (Jun 2010), and Safari iOS 3 (Jun 2009).
+
Baseline status for inputmode: Widely available. It's been Baseline since 2021-12-07.
Supported by: Chrome 66 (Apr 2018), Edge 79 (Jan 2020), Firefox 95 (Dec 2021), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
diff --git a/skills/modern-web-guidance/guides/forms/autofill-sign-in-form.md b/skills/modern-web-guidance/guides/forms/autofill-sign-in-form.md
index a80f995..1740bce 100644
--- a/skills/modern-web-guidance/guides/forms/autofill-sign-in-form.md
+++ b/skills/modern-web-guidance/guides/forms/autofill-sign-in-form.md
@@ -129,6 +129,7 @@ Disallowing password pasting annoys users, encourages passwords that are memorab
Baseline status for Email, telephone, and URL <input> types: Widely available. It's been Baseline since 2015-07-29.
Supported by: Chrome 5 (May 2010), Edge 12 (Jul 2015), Firefox 4 (Mar 2011), Safari 5 (Jun 2010), and Safari iOS 3 (Jun 2009).
+
Baseline status for inputmode: Widely available. It's been Baseline since 2021-12-07.
Supported by: Chrome 66 (Apr 2018), Edge 79 (Jan 2020), Firefox 95 (Dec 2021), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
diff --git a/skills/modern-web-guidance/guides/forms/autofill-sign-up-form.md b/skills/modern-web-guidance/guides/forms/autofill-sign-up-form.md
index d055152..896ff24 100644
--- a/skills/modern-web-guidance/guides/forms/autofill-sign-up-form.md
+++ b/skills/modern-web-guidance/guides/forms/autofill-sign-up-form.md
@@ -139,6 +139,7 @@ Also make sure to use `autocomplete="username"` for usernames.
Baseline status for Email, telephone, and URL <input> types: Widely available. It's been Baseline since 2015-07-29.
Supported by: Chrome 5 (May 2010), Edge 12 (Jul 2015), Firefox 4 (Mar 2011), Safari 5 (Jun 2010), and Safari iOS 3 (Jun 2009).
+
Baseline status for inputmode: Widely available. It's been Baseline since 2021-12-07.
Supported by: Chrome 66 (Apr 2018), Edge 79 (Jan 2020), Firefox 95 (Dec 2021), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
diff --git a/skills/modern-web-guidance/guides/forms/form-fields-automatically-fit-contents.md b/skills/modern-web-guidance/guides/forms/form-fields-automatically-fit-contents.md
index 588d7e8..ba3e6b5 100644
--- a/skills/modern-web-guidance/guides/forms/form-fields-automatically-fit-contents.md
+++ b/skills/modern-web-guidance/guides/forms/form-fields-automatically-fit-contents.md
@@ -1,3 +1,5 @@
+# Form Fields Automatically Fit Contents
+
By default, form controls like `<input>`, `<textarea>`, and `<select>` have fixed dimensions. Their sizes remain constant, regardless of the amount of content the user enters or selects.
To allow these controls to automatically shrink or grow to fit their content (including placeholders), use the `field-sizing: content` CSS property.
diff --git a/skills/modern-web-guidance/guides/forms/forms.md b/skills/modern-web-guidance/guides/forms/forms.md
index 354ead9..0b85b68 100644
--- a/skills/modern-web-guidance/guides/forms/forms.md
+++ b/skills/modern-web-guidance/guides/forms/forms.md
@@ -1,3 +1,5 @@
+# Forms
+
## 1. Semantic Structure and Form Element
### Guidelines
@@ -216,6 +218,7 @@ input {
### Guidelines
+- **DO** check `KeyboardEvent.isComposing` before treating the `Enter` key as a submit action in chat or text inputs to ensure IME text composition is not interrupted. See guide `ime-safe-enter-submit` (via `npx -y modern-web-guidance@latest retrieve "ime-safe-enter-submit"`).
- **DO** prevent default navigation on form submit for AJAX (`e.preventDefault()`).
- **DO** use `ValidityState` interfaces for real-time validation checks.
- **DO** use `aria-expanded` and `aria-controls` for dynamic UI reveals.
diff --git a/skills/modern-web-guidance/guides/forms/ime-safe-enter-submit.md b/skills/modern-web-guidance/guides/forms/ime-safe-enter-submit.md
new file mode 100644
index 0000000..8e30adc
--- /dev/null
+++ b/skills/modern-web-guidance/guides/forms/ime-safe-enter-submit.md
@@ -0,0 +1,113 @@
+# IME-safe enter-to-submit
+
+Many chat interfaces submit their message when the user presses `Enter` in a `<textarea>`.
+
+This works for users typing with direct Latin keyboard input (e.g. English), but breaks for users typing with an Input Method Editor (IME) to compose text in languages like Japanese, Chinese, or Korean.
+
+In these contexts, the `Enter`/`Return` key is used to confirm the current character conversion candidate. If custom JavaScript listens to `keydown` on `Enter` and submits immediately, the user's message is sent while they are still converting characters, resulting in incomplete, fragmented, or incorrect messages.
+
+Note that the composition-active check only matters for multiline `<textarea>` fields where custom JavaScript intercepts `Enter` for submission. For single-line `<input>` fields inside a `<form>`, no explicit handling is required, as browsers natively suppress implicit submission when the `Enter` keystroke is consumed by an IME.
+
+## Implementation strategy
+
+For a `<textarea>` with custom enter-to-submit, check the native `isComposing` property of the `KeyboardEvent` before submitting the content. The default action of `Enter` in a `<textarea>` is to insert a newline, so you must also call `event.preventDefault()` to suppress that.
+
+```html
+<form id="chat-form">
+ <label for="chat-input" class="visually-hidden">Message</label>
+ <textarea id="chat-input" placeholder="Type a message..."></textarea>
+ <button type="submit" id="send-button">Send</button>
+</form>
+```
+
+```js
+const textarea = document.getElementById('chat-input');
+const form = document.getElementById('chat-form');
+
+textarea.addEventListener('keydown', (event) => {
+ if (event.key === 'Enter' && !event.shiftKey) {
+ // Prevent the default newline behavior
+ event.preventDefault();
+
+ // If the user is composing text, return early.
+ if (event.isComposing) {
+ return;
+ }
+
+ form.requestSubmit();
+ }
+});
+```
+
+Note: Other custom submission shortcuts (such as `Cmd+Enter` or `Ctrl+Enter`) do not conflict with IME confirmation keys and do not require IME safety checks.
+
+## Accessibility and testing
+
+1. **Explicit submit button**: Always include a `<button type="submit">` element. Keyboard shortcuts are helpers; they must not replace native form submit paths.
+2. **Accessible inputs**: Ensure all `<input>` and `<textarea>` elements are programmatically associated with a `<label>` using matching `id` and `for` attributes.
+
+## Fallback strategies
+
+the api.KeyboardEvent.isComposing capability has limited availability.
+Supported by: Chrome 56 (Jan 2017), Edge 79 (Jan 2020), and Firefox 31 (Jul 2014).
+Unsupported in: Safari.
+
+In Safari, an event-ordering issue (WebKit bug 165004) delivers `compositionend` to script handlers before the confirming `Enter` `keydown`, even though the underlying events are dispatched in the opposite order. By the time the keydown handler runs, `event.isComposing` has already been reset to `false`, meaning the standard check alone will fail to prevent premature submission.
+
+If you need to support cross-browser compatibility across Safari and other platforms, adopt one of the following fallback strategies:
+
+### Strategy 1: Add a `keyCode === 229` check (recommended)
+
+By pairing `event.isComposing` with a check for `event.keyCode === 229`, you can reliably catch Safari's out-of-order confirming `Enter` keydown. Because this is nested under the `event.key === 'Enter'` gate, it is safe from mobile virtual keyboards that might use `229` for normal character layout entry.
+
+```js
+textarea.addEventListener('keydown', (event) => {
+ if (event.key === 'Enter' && !event.shiftKey) {
+ event.preventDefault();
+
+ // Block submission if composing natively or if keyCode is 229
+ if (event.isComposing || event.keyCode === 229) {
+ return;
+ }
+
+ form.requestSubmit();
+ }
+});
+```
+
+### Strategy 2: The `event.timeStamp` window workaround (alternative)
+
+For codebases that strictly forbid the use of deprecated APIs like `keyCode`, or if there are known issues with the `229` check in specific targeted environments, you can track the browser-reported event dispatch timestamp instead.
+
+Because Safari dispatches the confirming `Enter` keydown event extremely close to the `compositionend` event (often within 5ms, and sometimes with the keydown timestamp being slightly *earlier* due to handler delivery order inversion), checking the time difference is highly reliable and is unlikely to trigger false-positives on mobile virtual keyboards under standard conditions.
+
+```js
+let lastCompositionEndAt = null;
+
+textarea.addEventListener('compositionend', (event) => {
+ // IMPORTANT: Always use event.timeStamp, not Date.now() or performance.now().
+ // Handler-time measurements are vulnerable to drift when the main thread is blocked.
+ lastCompositionEndAt = event.timeStamp;
+});
+
+textarea.addEventListener('keydown', (event) => {
+ if (event.key === 'Enter' && !event.shiftKey) {
+ event.preventDefault();
+
+ if (event.isComposing) {
+ return;
+ }
+
+ // Block submission if the event occurs within a 50ms window of composition ending.
+ // Math.abs handles Safari's inverted event delivery timing bug.
+ if (
+ lastCompositionEndAt !== null &&
+ Math.abs(event.timeStamp - lastCompositionEndAt) < 50
+ ) {
+ return;
+ }
+
+ form.requestSubmit();
+ }
+});
+```
diff --git a/skills/modern-web-guidance/guides/forms/select-menu-interaction.md b/skills/modern-web-guidance/guides/forms/select-menu-interaction.md
index 8e82e5d..a783998 100644
--- a/skills/modern-web-guidance/guides/forms/select-menu-interaction.md
+++ b/skills/modern-web-guidance/guides/forms/select-menu-interaction.md
@@ -67,8 +67,6 @@ select:user-valid {
## Fallbacking & Browser Support
-The `:user-invalid` pseudo-class is widely supported (Baseline 2023), but if you need to support older browsers, you must ensure consistency of the implementation.
-
### Fallbacks & browser support for :user-valid and :user-invalid
Baseline status for :user-valid and :user-invalid: Widely available. It's been Baseline since 2023-11-02.
diff --git a/skills/modern-web-guidance/guides/html/html.md b/skills/modern-web-guidance/guides/html/html.md
index ac20516..c13fce5 100644
--- a/skills/modern-web-guidance/guides/html/html.md
+++ b/skills/modern-web-guidance/guides/html/html.md
@@ -1,3 +1,5 @@
+# HTML
+
## Table of Contents
1. Fundamental Semantics and Validation
diff --git a/skills/modern-web-guidance/guides/performance/break-up-long-tasks.md b/skills/modern-web-guidance/guides/performance/break-up-long-tasks.md
index 5fa659a..ffedaa4 100644
--- a/skills/modern-web-guidance/guides/performance/break-up-long-tasks.md
+++ b/skills/modern-web-guidance/guides/performance/break-up-long-tasks.md
@@ -1,3 +1,5 @@
+# Break Up Long Tasks
+
Heavy computations or long loops can block the main thread, causing the page to become unresponsive. To prevent this, you should yield control back to the browser periodically. The `scheduler.yield()` API allows you to pause a long task and let the browser handle user input or rendering before continuing.
### Breaking up long tasks
diff --git a/skills/modern-web-guidance/guides/performance/conditional-async-dependencies.md b/skills/modern-web-guidance/guides/performance/conditional-async-dependencies.md
index 859b133..f1d950a 100644
--- a/skills/modern-web-guidance/guides/performance/conditional-async-dependencies.md
+++ b/skills/modern-web-guidance/guides/performance/conditional-async-dependencies.md
@@ -1,3 +1,5 @@
+# Conditional Async Dependencies
+
Top-level `await` allows modules to act as asynchronous functions, meaning they can pause module execution to await promises. This is extremely useful for conditionally loading async dependencies—like polyfills or heavy secondary libraries—only when required by the browser.
By utilizing top-level await, you can encapsulate the conditional loading logic inside a single module, effectively preventing downstream consumer modules from executing until the dependency is fully loaded and ready.
diff --git a/skills/modern-web-guidance/guides/performance/deliver-optimized-decorative-images.md b/skills/modern-web-guidance/guides/performance/deliver-optimized-decorative-images.md
index 204c03f..d31dad9 100644
--- a/skills/modern-web-guidance/guides/performance/deliver-optimized-decorative-images.md
+++ b/skills/modern-web-guidance/guides/performance/deliver-optimized-decorative-images.md
@@ -1,3 +1,5 @@
+# Deliver Optimized Decorative Images
+
Delivering optimized decorative images via CSS improves perceived performance without sacrificing visual quality. By using the `image-set()` CSS function, you can provide the browser with multiple options for a single background or mask image. You can specify modern formats (like AVIF or WebP) alongside different resolutions (like `1x` and `2x`). The browser will dynamically select the smallest compatible image that provides the appropriate pixel density for the user's device.
**CAUTION**: If the image is likely to be the Largest Contentful Paint (LCP) element (e.g., a large hero banner), be aware that images referenced in CSS via image-set() are not discoverable by the browser's preload scanner. This can significantly delay image loading and harm LCP. For LCP candidates, consider using a standard HTML `<img>` or `<picture>` tag instead or alternatively, preloading the image as well using `<link rel=preload>` option with a `media` attribute.
diff --git a/skills/modern-web-guidance/guides/performance/detect-initial-visibility-state.md b/skills/modern-web-guidance/guides/performance/detect-initial-visibility-state.md
index 7563b38..bffb690 100644
--- a/skills/modern-web-guidance/guides/performance/detect-initial-visibility-state.md
+++ b/skills/modern-web-guidance/guides/performance/detect-initial-visibility-state.md
@@ -1,3 +1,5 @@
+# Detect Initial Visibility State
+
Determining if a page was initially loaded in the background (e.g., opened in a new background tab) is critical for accurate performance monitoring. Pages loaded in the background often have delayed rendering and longer metric times (like First Contentful Paint). Identifying these pages allows you to filter them out of performance analytics to avoid skewed data.
The most accurate way to measure this is by using the `VisibilityStateEntry` API, which reliably records visibility changes on the browser's performance timeline, regardless of when your script actually executes.
diff --git a/skills/modern-web-guidance/guides/performance/improve-next-page-load-performance.md b/skills/modern-web-guidance/guides/performance/improve-next-page-load-performance.md
index 08ec9b3..6696ada 100644
--- a/skills/modern-web-guidance/guides/performance/improve-next-page-load-performance.md
+++ b/skills/modern-web-guidance/guides/performance/improve-next-page-load-performance.md
@@ -114,6 +114,8 @@ This example shows a rule set that prefetches all links eagerly, and then goes f
## Browser support and fallback strategies
-Speculative loading is a new feature, and as such, is not supported in all modern browsers (Baseline limited availability).
+Speculation rules has limited availability.
+Supported by: Chrome 109 (Jan 2023) and Edge 109 (Jan 2023).
+Unsupported in: Firefox and Safari.
However, speculative loading is a progressive enhancement. It is perfectly safe to use as an enhancement, and is highly recommended given the potential performance benefits. If a browser does not support speculation rules, it will simply ignore them.
diff --git a/skills/modern-web-guidance/guides/performance/performance.md b/skills/modern-web-guidance/guides/performance/performance.md
index a1469d4..ecee6ad 100644
--- a/skills/modern-web-guidance/guides/performance/performance.md
+++ b/skills/modern-web-guidance/guides/performance/performance.md
@@ -1,3 +1,5 @@
+# Performance
+
## Critical Rendering Path (CRP) Optimization
The Critical Rendering Path dictates how quickly the browser converts HTML, CSS, and JavaScript into painted pixels.
diff --git a/skills/modern-web-guidance/guides/performance/resolution-optimized-pseudo-elements.md b/skills/modern-web-guidance/guides/performance/resolution-optimized-pseudo-elements.md
index 87bff70..da5f76d 100644
--- a/skills/modern-web-guidance/guides/performance/resolution-optimized-pseudo-elements.md
+++ b/skills/modern-web-guidance/guides/performance/resolution-optimized-pseudo-elements.md
@@ -1,3 +1,5 @@
+# Resolution Optimized Pseudo Elements
+
Using resolution-optimized images in CSS pseudo-elements (like `::before` or `::after`) allows you to add decorative icons or structural graphics without cluttering your HTML with extra DOM nodes. By combining pseudo-elements with the `image-set()` CSS function, you can provide the browser with multiple formats (such as AVIF or WebP) and resolutions (like `1x` and `2x`). The browser will automatically choose the most optimal image for the user's device capabilities.
### Implementation
diff --git a/skills/modern-web-guidance/guides/performance/schedule-tasks-by-priority.md b/skills/modern-web-guidance/guides/performance/schedule-tasks-by-priority.md
index 2f93a71..a65c653 100644
--- a/skills/modern-web-guidance/guides/performance/schedule-tasks-by-priority.md
+++ b/skills/modern-web-guidance/guides/performance/schedule-tasks-by-priority.md
@@ -1,3 +1,5 @@
+# Schedule Tasks By Priority
+
When building complex web applications, tasks have different levels of urgency. Completing tasks for the current view is more important than sending analytics or prefetching assets. The Prioritized Task Scheduling API allows you to schedule work with specific priorities, ensuring the browser remains responsive to user input.
### Scheduling tasks by priority
diff --git a/skills/modern-web-guidance/guides/security/passkey-authentication.md b/skills/modern-web-guidance/guides/security/passkey-authentication.md
index 85466fc..fd1fd7d 100644
--- a/skills/modern-web-guidance/guides/security/passkey-authentication.md
+++ b/skills/modern-web-guidance/guides/security/passkey-authentication.md
@@ -1,4 +1,4 @@
-# Passkey Authentication Guide
+# Passkey Authentication
This guide details how to implement returning user authentication using discoverable credentials, both through explicit button triggers and seamless browser autofill suggestions (Conditional UI).
diff --git a/skills/modern-web-guidance/guides/security/passkey-management.md b/skills/modern-web-guidance/guides/security/passkey-management.md
index 6cf733e..9b42392 100644
--- a/skills/modern-web-guidance/guides/security/passkey-management.md
+++ b/skills/modern-web-guidance/guides/security/passkey-management.md
@@ -1,4 +1,4 @@
-# Passkey Management Guide
+# Passkey Management
This guide details how to enable users to view, rename, and delete their registered passkeys while keeping saved credentials perfectly synchronized between the server and the user's password managers using the Signal API.
diff --git a/skills/modern-web-guidance/guides/security/passkey-reauthentication.md b/skills/modern-web-guidance/guides/security/passkey-reauthentication.md
index 3020f93..178931d 100644
--- a/skills/modern-web-guidance/guides/security/passkey-reauthentication.md
+++ b/skills/modern-web-guidance/guides/security/passkey-reauthentication.md
@@ -1,4 +1,4 @@
-# Passkey Reauthentication Guide
+# Passkey Reauthentication
This delta-focused guide details how to implement step-up authentication or re-verification for a signed-in user before they perform sensitive account changes (e.g. passwords updates, financial transfers).
diff --git a/skills/modern-web-guidance/guides/security/passkey-registration.md b/skills/modern-web-guidance/guides/security/passkey-registration.md
index 9296689..67ca6a7 100644
--- a/skills/modern-web-guidance/guides/security/passkey-registration.md
+++ b/skills/modern-web-guidance/guides/security/passkey-registration.md
@@ -1,4 +1,4 @@
-# Passkey Registration Guide
+# Passkey Registration
This guide details how to enable users to register a passkey for their account, providing a highly secure, phishing-resistant passwordless sign-in alternative.
diff --git a/skills/modern-web-guidance/guides/security/passkeys.md b/skills/modern-web-guidance/guides/security/passkeys.md
index b997f19..32d6037 100644
--- a/skills/modern-web-guidance/guides/security/passkeys.md
+++ b/skills/modern-web-guidance/guides/security/passkeys.md
@@ -1,4 +1,4 @@
-# Passkeys Orientation Guide
+# Passkeys Orientation
This guide provides high-density, action-oriented orientation for implementing secure, framework-agnostic passkey authentication and credential management in modern web applications.
diff --git a/skills/modern-web-guidance/guides/ui-atoms/position-aware-tooltips.md b/skills/modern-web-guidance/guides/ui-atoms/position-aware-tooltips.md
index ded9b70..822997e 100644
--- a/skills/modern-web-guidance/guides/ui-atoms/position-aware-tooltips.md
+++ b/skills/modern-web-guidance/guides/ui-atoms/position-aware-tooltips.md
@@ -1,3 +1,5 @@
+# Position Aware Tooltips
+
When building tooltips or popovers with CSS Anchor Positioning, the browser can automatically "flip" the element to a fallback position if it would otherwise overflow the viewport. When this happens, you may want to adjust the style of the positioned content, for instance to reposition an arrow that points from the positioned content to the anchor.
**Anchored Container Queries** solve this by allowing you to query the active positioning state of an element and apply styles accordingly.
diff --git a/skills/modern-web-guidance/guides/ui-atoms/resilient-context-menus-and-nested-dropdowns.md b/skills/modern-web-guidance/guides/ui-atoms/resilient-context-menus-and-nested-dropdowns.md
index 6dc1fa1..4424096 100644
--- a/skills/modern-web-guidance/guides/ui-atoms/resilient-context-menus-and-nested-dropdowns.md
+++ b/skills/modern-web-guidance/guides/ui-atoms/resilient-context-menus-and-nested-dropdowns.md
@@ -1,3 +1,5 @@
+# Resilient Context Menus And Nested Dropdowns
+
A revealed action panel or popover button group is a useful pattern for users to access additional functionality while taking up minimal space. This overlay pattern comes with layout complexity, as the panel must remain tethered to a trigger element while adapting to viewport constraints. Traditionally, this required complex JavaScript libraries (like Popper.js or Floating UI) to calculate positions and handle collisions.
CSS Anchor Positioning provides a declarative, performance-optimized way to handle these relationships entirely in CSS, allowing browsers to manage the positioning and overflow logic natively.
diff --git a/skills/modern-web-guidance/guides/ui-atoms/scroll-position-aware-elements.md b/skills/modern-web-guidance/guides/ui-atoms/scroll-position-aware-elements.md
index 11b02bd..f6c8562 100644
--- a/skills/modern-web-guidance/guides/ui-atoms/scroll-position-aware-elements.md
+++ b/skills/modern-web-guidance/guides/ui-atoms/scroll-position-aware-elements.md
@@ -1,3 +1,5 @@
+# Scroll Position Aware Elements
+
## Overview
Improve the user experience of floating buttons, like a "Back to Top" link, by showing them only when they are useful. This guide shows how to build these elements using CSS `container-scroll-state-queries`, which allows styling elements based on the scroll position of their container without relying on JavaScript scroll listeners or observers.
diff --git a/skills/modern-web-guidance/guides/ui-atoms/scrollability-affordance-hints.md b/skills/modern-web-guidance/guides/ui-atoms/scrollability-affordance-hints.md
index 6ba0150..edb91fe 100644
--- a/skills/modern-web-guidance/guides/ui-atoms/scrollability-affordance-hints.md
+++ b/skills/modern-web-guidance/guides/ui-atoms/scrollability-affordance-hints.md
@@ -1,3 +1,5 @@
+# Scrollability Affordance Hints
+
## Overview
Visual hints, like shadows or gradients, help users understand that they can scroll to see more content. This guide shows how to build these hints using CSS `container-scroll-state-queries`, which allows styling elements based on the scrollable state of their container without relying on JavaScript scroll listeners or observers.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/anchor-positioning-tab-underline.md b/skills/modern-web-guidance/guides/ui-behaviors/anchor-positioning-tab-underline.md
index c6e770d..95a0f19 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/anchor-positioning-tab-underline.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/anchor-positioning-tab-underline.md
@@ -1,3 +1,5 @@
+# Anchor Positioning Tab Underline
+
In a tab menu, you should provide visual hints to users about what page they are on. One option is by underlining the tab. With anchor positioning, you can create a smooth animation between the positions of the underline. This does not work when changing the active tab loads a new web page.
You can also use this effect to add an animated dot to indicate the active tab in a vertical tab bar.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/animate-element-entry-exit.md b/skills/modern-web-guidance/guides/ui-behaviors/animate-element-entry-exit.md
index d2c4351..a0db24d 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/animate-element-entry-exit.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/animate-element-entry-exit.md
@@ -1,3 +1,5 @@
+# Animate Element Entry and Exit
+
In the past, CSS transitions could not animate elements when they were first added to the DOM or when their `display` property changed from `none`. The `@starting-style` at-rule and `transition-behavior: allow-discrete` provide a declarative way to create smooth entry and exit animations.
## Implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/animate-to-from-top-layer.md b/skills/modern-web-guidance/guides/ui-behaviors/animate-to-from-top-layer.md
index 274ff28..e2eee60 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/animate-to-from-top-layer.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/animate-to-from-top-layer.md
@@ -1,3 +1,5 @@
+# Animate Elements To and From Top Layer
+
Elements that render in the "top layer" (like `<dialog>`, elements with the `popover` attribute, or tooltips) have historically been difficult to animate because they toggle between `display: none` and a visible state. Modern CSS provides `@starting-style`, `transition-behavior: allow-discrete`, and the `overlay` property to enable smooth entry and exit transitions for these elements. Note that native CSS nesting is used in the examples below.
## Implementation
@@ -100,8 +102,10 @@ dialog[open]::backdrop,
Baseline status for @starting-style: Newly available. It's been Baseline since 2024-08-06.
Supported by: Chrome 117 (Sep 2023), Edge 117 (Sep 2023), Firefox 129 (Aug 2024), and Safari 17.5 (May 2024).
+
Baseline status for transition-behavior: Newly available. It's been Baseline since 2024-08-06.
Supported by: Chrome 117 (Sep 2023), Edge 117 (Sep 2023), Firefox 129 (Aug 2024), and Safari 17.4 (Mar 2024).
+
overlay has limited availability.
Supported by: Chrome 117 (Sep 2023) and Edge 117 (Sep 2023).
Unsupported in: Firefox and Safari.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/carousel-snap-highlights.md b/skills/modern-web-guidance/guides/ui-behaviors/carousel-snap-highlights.md
index 59aa4d7..22d738e 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/carousel-snap-highlights.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/carousel-snap-highlights.md
@@ -1,3 +1,5 @@
+# Carousel Snap Highlights
+
Scroll-state container queries allow you to style elements based on their current scroll state, such as whether an element is "stuck" (via sticky positioning) or "snapped" (via scroll snapping). This enables carousel or gallery experiences where the active item can be visually distinguished without relying on JavaScript intersection observers or scroll event listeners.
### Core implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/cross-document-transitions.md b/skills/modern-web-guidance/guides/ui-behaviors/cross-document-transitions.md
index f0edd54..283df56 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/cross-document-transitions.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/cross-document-transitions.md
@@ -1,3 +1,5 @@
+# Cross-Document Transitions
+
Cross-document view transitions allow you to create smooth, app-like transitions between different pages of a Multi-Page Application (MPA). By default, the browser performs a cross-fade, but you can customize this to match your site's aesthetic.
### Implementation Steps
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/declarative-dialog-popover-control.md b/skills/modern-web-guidance/guides/ui-behaviors/declarative-dialog-popover-control.md
index e6d6e7d..0218fc0 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/declarative-dialog-popover-control.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/declarative-dialog-popover-control.md
@@ -1,4 +1,4 @@
-# Overview
+# Declarative Dialog and Popover Control
Use the Invoker Commands API to toggle the visibility of `<dialog>` and `[popover]` elements directly from HTML buttons, eliminating the need for custom JavaScript event listeners.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/directional-navigation-transitions.md b/skills/modern-web-guidance/guides/ui-behaviors/directional-navigation-transitions.md
index eca8bda..180255c 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/directional-navigation-transitions.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/directional-navigation-transitions.md
@@ -1,3 +1,5 @@
+# Directional Navigation Transitions
+
Single Page Applications (SPAs) provide the appearance of navigation by replacing the content of the page without navigating to a new page. By default, the content is simply replaced, without any transitions. Directional transitions can visually reinforce a spatial relationship between views.
By sliding new content in from the direction the user is moving you create a mental map of the application structure. For instance, a product site may show a transition to the right for "forward," and to the left for "back", or a slideshow may transition up and down to show next and previous slides.
@@ -98,6 +100,7 @@ Always respect user preferences for reduced motion by disabling or simplifying a
Baseline status for View transitions: Newly available. It's been Baseline since 2025-10-14.
Supported by: Chrome 111 (Mar 2023), Edge 111 (Mar 2023), Firefox 144 (Oct 2025), and Safari 18 (Sep 2024).
+
Baseline status for Active view transition: Newly available. It's been Baseline since 2026-01-13.
Supported by: Chrome 125 (May 2024), Edge 125 (May 2024), Firefox 147 (Jan 2026), and Safari 18.2 (Dec 2024).
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/group-element-transitions.md b/skills/modern-web-guidance/guides/ui-behaviors/group-element-transitions.md
index cf6f73d..1ea3b26 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/group-element-transitions.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/group-element-transitions.md
@@ -1,3 +1,5 @@
+# Group Element Transitions
+
As items are added or removed from a list, or rearranged, transitions can help users maintain context. View transitions provide a way to transition between two states of an element by giving the element a unique `view-transition-name`. When multiple elements on a page share the same transition behavior, `view-transition-class` allows you to define that logic once in CSS rather than repeating it for every unique `view-transition-name`. This keeps your stylesheets maintainable while ensuring consistent animations across a group of elements.
### Implementation steps
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/highlight-text-ranges.md b/skills/modern-web-guidance/guides/ui-behaviors/highlight-text-ranges.md
index d525357..87e875a 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/highlight-text-ranges.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/highlight-text-ranges.md
@@ -1,3 +1,5 @@
+# Highlight Text Ranges
+
The CSS Custom Highlight API lets you style arbitrary text ranges on a page without modifying the DOM structure. This enables search-result highlighting, syntax coloring, collaborative editing cursors, or spelling and grammar error markers without wrapping text in extra elements or relying on `innerHTML` manipulation.
### Core implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/interactive-content-reveal.md b/skills/modern-web-guidance/guides/ui-behaviors/interactive-content-reveal.md
index a36054a..843cbae 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/interactive-content-reveal.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/interactive-content-reveal.md
@@ -1,3 +1,5 @@
+# Interactive Content Reveal
+
Add performant, interactive reveal effects to your site with CSS masks and registered custom properties. By using a radial gradient as a mask and registering its stop values, we can smoothly transition the entry and exit, while following a user's pointer with minimal JavaScript.
## Implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/interest-triggered-action-previews.md b/skills/modern-web-guidance/guides/ui-behaviors/interest-triggered-action-previews.md
index b14076d..99269d5 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/interest-triggered-action-previews.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/interest-triggered-action-previews.md
@@ -1,3 +1,5 @@
+# Interest Triggered Action Previews
+
It can be beneficial to provide users a preview of their actions before they commit to them. Interest invokers are an experimental web platform feature that provides a declarative-based way of creating interest relationships between an interest source (i.e. a button or a link) and an interest target. Once the declarative relationship has been established there are a number of methods a developer can respond to based on interest and loss of interest using both CSS and JavaScript. For this use case, we can leverage the `interest` and `loseinterest` events to preview various effects for an interest target.
## How to implement
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/light-dismiss-a-dialog.md b/skills/modern-web-guidance/guides/ui-behaviors/light-dismiss-a-dialog.md
index da2768e..7bfe4df 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/light-dismiss-a-dialog.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/light-dismiss-a-dialog.md
@@ -1,3 +1,5 @@
+# Light-Dismiss a Dialog
+
Modern modal dialogs often support "light-dismiss," allowing users to close a dialog by clicking or tapping the backdrop (the area outside the dialog). The `closedby` attribute provides a declarative way to enable this behavior without custom JavaScript.
## Implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/move-dom-element-without-losing-state.md b/skills/modern-web-guidance/guides/ui-behaviors/move-dom-element-without-losing-state.md
index 30914fa..97c84ea 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/move-dom-element-without-losing-state.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/move-dom-element-without-losing-state.md
@@ -1,3 +1,5 @@
+# Move DOM Element Without Losing State
+
When reparenting DOM elements using traditional methods like `appendChild()` or `insertBefore()`, the browser implicitly removes the element from the DOM and then inserts it into its new location. This "remove and insert" operation resets many internal states, causing `<iframe>` elements to reload, CSS animations to restart, and input fields to lose focus.
To move an element while preserving its state, use the `moveBefore()` API. This method performs an atomic move, completely bypassing the removal and insertion steps.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/persistent-top-layer-ui.md b/skills/modern-web-guidance/guides/ui-behaviors/persistent-top-layer-ui.md
index e03e028..6f9764b 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/persistent-top-layer-ui.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/persistent-top-layer-ui.md
@@ -1,3 +1,5 @@
+# Persistent Top Layer UI
+
When moving an open `<dialog>`, `popover`, or fullscreen element in the DOM using traditional methods like `appendChild()` or `insertBefore()`, the browser implicitly removes the element from the DOM and re-inserts it. This removal resets the state, causing open modals, popovers, and fullscreen elements to close abruptly.
To reparent top-layer elements without interrupting the user experience or closing them, use the atomic `moveBefore()` API instead.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/physics-based-easing.md b/skills/modern-web-guidance/guides/ui-behaviors/physics-based-easing.md
index 504a193..e7276da 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/physics-based-easing.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/physics-based-easing.md
@@ -1,3 +1,5 @@
+# Physics Based Easing
+
Traditional CSS easing functions like `ease-in` or `cubic-bezier()` are limited to simple curves, making it impossible to create complex physics-based effects like bounces or springs. The `linear()` timing function solves this by allowing you to provide a series of stops that can approximate complex curves. Transitions and animations are interpolated based on straight lines between the stops, but within enough stops, it can appear smooth.
### Implementation Steps
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/platform-controls-dismiss-dialog.md b/skills/modern-web-guidance/guides/ui-behaviors/platform-controls-dismiss-dialog.md
index b7672db..59a4219 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/platform-controls-dismiss-dialog.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/platform-controls-dismiss-dialog.md
@@ -1,3 +1,5 @@
+# Platform Controls Dismiss Dialog
+
When a modal dialog is open, users expect to use familiar controls to dismiss them: pressing the <kbd>Esc</kbd> key on a keyboard, using the back button or gesture on mobile platforms, or a dismiss gesture with assistive technologies.
When the `<dialog>` element was first introduced, it could be dismissed with the <kbd>Esc</kbd> key, but not other platform controls such as a back button/gesture on mobile. With the addition of the `closedby` attribute for `<dialog>` elements, the extended behavior of responding to more platform-specific controls for close requests has been applied for `<dialog>` elements that are opened in a modal state (i.e. when opened imperatively with the `<dialog>` element’s `showModal()` method in JavaScript or declaratively with the `show-modal` invoker command). So, there is no specific change developers need to make if they are already using the `<dialog>` element.
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-realtime-feedback.md b/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-realtime-feedback.md
index c093280..4c888f7 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-realtime-feedback.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-realtime-feedback.md
@@ -1,3 +1,5 @@
+# Scroll Snap Real-Time Feedback
+
## Overview
Users expect immediate visual feedback when interacting with UI elements like carousels or galleries. Traditional scroll snap only provides feedback *after* the scroll gesture completes and the element settles. By using Scroll Snap Events, specifically `scrollsnapchanging`, you can provide real-time feedback during the scroll gesture, highlighting the pending snap target before the user releases their touch or mouse.
@@ -96,6 +98,7 @@ if (document.readyState === 'complete') {
Scroll snap events has limited availability.
Supported by: Chrome 129 (Sep 2024) and Edge 129 (Sep 2024).
Unsupported in: Firefox and Safari.
+
Baseline status for Scroll snap: Widely available. It's been Baseline since 2020-01-15.
Supported by: Chrome 69 (Sep 2018), Edge 79 (Jan 2020), Firefox 68 (Jul 2019), and Safari 11 (Sep 2017).
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-state-sync.md b/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-state-sync.md
index 8704648..2a249a4 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-state-sync.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/scroll-snap-state-sync.md
@@ -1,3 +1,5 @@
+# Scroll Snap State Sync
+
Synchronizing UI state with a scrollable container's snap position traditionally required complex scroll event listeners, manual calculations of scroll offsets, and intersection observers. The `scrollsnapchange` event provides a native, efficient way to detect when a scroller has settled on a new snap target, making it useful for synchronizing sidebars or highlighting the active section in a table of contents.
## Implementation
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/search-hidden-content.md b/skills/modern-web-guidance/guides/ui-behaviors/search-hidden-content.md
index 36e1361..2d16f50 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/search-hidden-content.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/search-hidden-content.md
@@ -115,9 +115,14 @@ accordion.addEventListener('beforematch', (e) => {
## Browser support and fallback strategies
-The `<details>` element is Baseline Widely available, so a fallback strategy is not required.
+Baseline status for <details>: Widely available. It's been Baseline since 2020-01-15.
+Supported by: Chrome 12 (Jun 2011), Edge 79 (Jan 2020), Firefox 49 (Sep 2016), and Safari 6 (Jul 2012).
-The `hidden="until-found"` attribute is not yet Baseline Widely available, but it can be safely used with a fallback in unsupporting browsers. **DO NOT** avoid `hidden="until-found"` because of missing browser support, as its accessibility benefits far outweigh the cost of implementing a fallback.
+hidden="until-found" has limited availability.
+Supported by: Chrome 102 (May 2022), Edge 102 (May 2022), and Firefox 148 (Feb 2026).
+Unsupported in: Safari.
+
+**DO NOT** avoid `hidden="until-found"` because of missing browser support, as its accessibility benefits far outweigh the cost of implementing a fallback.
#### `hidden="until-found"` fallback
diff --git a/skills/modern-web-guidance/guides/ui-behaviors/swipe-to-remove.md b/skills/modern-web-guidance/guides/ui-behaviors/swipe-to-remove.md
index c844458..21f9470 100644
--- a/skills/modern-web-guidance/guides/ui-behaviors/swipe-to-remove.md
+++ b/skills/modern-web-guidance/guides/ui-behaviors/swipe-to-remove.md
@@ -443,7 +443,22 @@ With this setup, the spacers no longer need their own background-color (the trac
## Fallback strategies
-The scroll-snap mechanics that underpin this pattern (`scroll-snap-type`, `scroll-snap-align`), `IntersectionObserver`, `MutationObserver`, `ResizeObserver`, and the Web Animations API are all Baseline Widely Available, so the gesture, commit detection, lifecycle management, and removal animation work broadly. All newer features that are used are either not core to the experience or have robust fallbacks that can be reliably used now.
+Baseline status for Scroll snap: Widely available. It's been Baseline since 2020-01-15.
+Supported by: Chrome 69 (Sep 2018), Edge 79 (Jan 2020), Firefox 68 (Jul 2019), and Safari 11 (Sep 2017).
+
+Baseline status for Intersection observer: Widely available. It's been Baseline since 2019-03-25.
+Supported by: Chrome 58 (Apr 2017), Edge 16 (Oct 2017), Firefox 55 (Aug 2017), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
+
+Baseline status for MutationObserver: Widely available. It's been Baseline since 2015-07-29.
+Supported by: Chrome 26 (Mar 2013), Edge 12 (Jul 2015), Firefox 14 (Jul 2012), and Safari 7 (Oct 2013).
+
+Baseline status for Resize observer: Widely available. It's been Baseline since 2020-07-28.
+Supported by: Chrome 64 (Jan 2018), Edge 79 (Jan 2020), Firefox 69 (Sep 2019), Safari 13.1 (Mar 2020), and Safari iOS 13.4 (Mar 2020).
+
+Baseline status for Web animations: Widely available. It's been Baseline since 2020-09-16.
+Supported by: Chrome 84 (Jul 2020), Edge 84 (Jul 2020), Firefox 75 (Apr 2020), and Safari 14 (Sep 2020).
+
+All newer features that are used are either not core to the experience or have robust fallbacks that can be reliably used now.
### Fallback for `overscroll-behavior`
@@ -451,7 +466,7 @@ overscroll-behavior has limited availability.
Supported by: Chrome 144 (Jan 2026), Edge 144 (Jan 2026), and Firefox 150 (Apr 2026).
Unsupported in: Safari.
-No fallback is needed for this use case. `overscroll-behavior` was Baseline Widely Available but no longer is due to an interop issue that only manifests on containers without scrollable overflow. But the track here is always horizontally scrollable (three full-width columns inside a 100%-width container), so the property behaves consistently across browsers and the swipe gesture is reliably contained.
+No fallback is needed for this use case. Although `overscroll-behavior` has an interop issue that manifests on containers without scrollable overflow, the track here is always horizontally scrollable (three full-width columns inside a 100%-width container), so the property behaves consistently across browsers and the swipe gesture is reliably contained.
### Fallback for `scrollbar-width`
diff --git a/skills/modern-web-guidance/guides/ui-components/navigation-drawer.md b/skills/modern-web-guidance/guides/ui-components/navigation-drawer.md
index a648602..3a95447 100644
--- a/skills/modern-web-guidance/guides/ui-components/navigation-drawer.md
+++ b/skills/modern-web-guidance/guides/ui-components/navigation-drawer.md
@@ -1,3 +1,5 @@
+# Navigation Drawer
+
## Overview
A navigation drawer is a panel that slides in from the edge of the viewport over the page content, dimming everything behind it. It is opened from a trigger button and dismissed by swiping the panel off-screen, tapping the dimmed backdrop, or pressing Escape.
@@ -287,7 +289,16 @@ document.addEventListener('keydown', (event) => {
### Fallback strategies
-The drawer's core mechanics — scroll snap, `IntersectionObserver`, and `inert` — are all Baseline Widely available and required for the component to function. The popover API, the scroll-driven animation that fades the backdrop, and `scroll-initial-target` are progressive enhancements with simple fallbacks that can be easily implemented if wide browser support is required.
+Baseline status for Scroll snap: Widely available. It's been Baseline since 2020-01-15.
+Supported by: Chrome 69 (Sep 2018), Edge 79 (Jan 2020), Firefox 68 (Jul 2019), and Safari 11 (Sep 2017).
+
+Baseline status for Intersection observer: Widely available. It's been Baseline since 2019-03-25.
+Supported by: Chrome 58 (Apr 2017), Edge 16 (Oct 2017), Firefox 55 (Aug 2017), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
+
+Baseline status for inert: Widely available. It's been Baseline since 2023-04-11.
+Supported by: Chrome 102 (May 2022), Edge 102 (May 2022), Firefox 112 (Apr 2023), and Safari 15.5 (May 2022).
+
+The popover API, the scroll-driven animation that fades the backdrop, and `scroll-initial-target` are progressive enhancements with simple fallbacks that can be easily implemented if wide browser support is required.
#### Backdrop fade fallback (no `animation-timeline` support):
@@ -349,6 +360,6 @@ Supported by: Chrome 85 (Aug 2020), Edge 85 (Aug 2020), Firefox 128 (Jul 2024),
Baseline status for the api.HTMLElement.showPopover capability: Newly available. It's been Baseline since 2024-04-16.
Supported by: Chrome 114 (May 2023), Edge 114 (Jun 2023), Firefox 125 (Apr 2024), and Safari 17 (Sep 2023).
-Because this component uses `popover="manual"` and implements dismissal entirely from JavaScript, it does not depend on the popover API's defining behaviors — light-dismiss, the `popovertarget` attribute, top-layer-managed Escape handling, or focus management. The only popover features it actually uses are top-layer promotion (via `showPopover()`) and the `::backdrop` pseudo-element, which have been Baseline since April 2024.
+Because this component uses `popover="manual"` and implements dismissal entirely from JavaScript, it does not depend on the popover API's defining behaviors — light-dismiss, the `popovertarget` attribute, top-layer-managed Escape handling, or focus management. The only popover features it actually uses are top-layer promotion (via `showPopover()`) and the `::backdrop` pseudo-element.
If wider browser support is needed, do not branch on feature detection — simply do not use popover at all. Drop the `popover="manual"` attribute, replace top-layer promotion with `position: fixed` and a high `z-index`, replace `::backdrop` with a sibling element styled identically (using the same `--drawer-backdrop` custom property), and toggle visibility from a class instead of `showPopover()`/`hidePopover()`. The rest of the component (scroll snap, the scroll-driven backdrop animation, the `IntersectionObserver`, and the dismissal handlers) is unchanged.
diff --git a/skills/modern-web-guidance/guides/ui-components/stack-drill-down.md b/skills/modern-web-guidance/guides/ui-components/stack-drill-down.md
index 364ec30..ed75acf 100644
--- a/skills/modern-web-guidance/guides/ui-components/stack-drill-down.md
+++ b/skills/modern-web-guidance/guides/ui-components/stack-drill-down.md
@@ -603,7 +603,16 @@ updateFromHistoryState(history.state, 'instant');
### Fallback strategies
-Most of the features used in this guide are Baseline Widely available, and do not require any fallback. The only features not widely available that may require fallbacks are scroll-snap-events and scroll-driven-animations, both of which have robust fallback or progressive enhancement stories, and are safe to use for this use case:
+Baseline status for Scroll snap: Widely available. It's been Baseline since 2020-01-15.
+Supported by: Chrome 69 (Sep 2018), Edge 79 (Jan 2020), Firefox 68 (Jul 2019), and Safari 11 (Sep 2017).
+
+Baseline status for Intersection observer: Widely available. It's been Baseline since 2019-03-25.
+Supported by: Chrome 58 (Apr 2017), Edge 16 (Oct 2017), Firefox 55 (Aug 2017), Safari 12.1 (Mar 2019), and Safari iOS 12.2 (Mar 2019).
+
+Baseline status for inert: Widely available. It's been Baseline since 2023-04-11.
+Supported by: Chrome 102 (May 2022), Edge 102 (May 2022), Firefox 112 (Apr 2023), and Safari 15.5 (May 2022).
+
+The features that may require fallbacks are scroll-snap-events and scroll-driven-animations, both of which have robust fallback or progressive enhancement stories, and are safe to use for this use case:
#### Scroll snap events
diff --git a/skills/modern-web-guidance/guides/visual-design/complex-shapes.md b/skills/modern-web-guidance/guides/visual-design/complex-shapes.md
index d874bea..880ba3a 100644
--- a/skills/modern-web-guidance/guides/visual-design/complex-shapes.md
+++ b/skills/modern-web-guidance/guides/visual-design/complex-shapes.md
@@ -1,3 +1,5 @@
+# Complex Shapes
+
## Overview
To clip elements to complex, free-form shapes like brush strokes or organic textures, use CSS Masking (`mask-image`). While `clip-path` is excellent for geometric shapes or vector paths, `mask-image` allows you to use images (like PNGs with transparency) or SVGs to define the visible area of an element. This approach is more expressive because it supports semi-transparency, allowing for soft edges and complex textures that are difficult or impossible to achieve with `clip-path`.
diff --git a/skills/modern-web-guidance/guides/visual-design/improve-text-layout-and-legibility.md b/skills/modern-web-guidance/guides/visual-design/improve-text-layout-and-legibility.md
index c1ae4a2..5a5098e 100644
--- a/skills/modern-web-guidance/guides/visual-design/improve-text-layout-and-legibility.md
+++ b/skills/modern-web-guidance/guides/visual-design/improve-text-layout-and-legibility.md
@@ -67,6 +67,7 @@ p, blockquote, li, .pretty-text {
Baseline status for text-wrap: balance: Newly available. It's been Baseline since 2024-05-13.
Supported by: Chrome 114 (May 2023), Edge 114 (Jun 2023), Firefox 121 (Dec 2023), and Safari 17.5 (May 2024).
+
text-wrap: pretty has limited availability.
Supported by: Chrome 117 (Sep 2023), Edge 117 (Sep 2023), and Safari 26 (Sep 2025).
Unsupported in: Firefox.
diff --git a/skills/modern-web-guidance/guides/visual-design/shaped-cutouts.md b/skills/modern-web-guidance/guides/visual-design/shaped-cutouts.md
index 4d9e7c7..32970f9 100644
--- a/skills/modern-web-guidance/guides/visual-design/shaped-cutouts.md
+++ b/skills/modern-web-guidance/guides/visual-design/shaped-cutouts.md
@@ -1,3 +1,5 @@
+# Shaped Cutouts
+
## Overview
CSS Masking allows you to clip an element to a custom shape, such as adding a notch to a card or creating a shaped border. When combining shapes for complex layouts, choose your masking strategy based on the type of content the element contains:
diff --git a/skills/modern-web-guidance/guides/visual-design/soft-edge-content-fade.md b/skills/modern-web-guidance/guides/visual-design/soft-edge-content-fade.md
index 97ef404..8ea2441 100644
--- a/skills/modern-web-guidance/guides/visual-design/soft-edge-content-fade.md
+++ b/skills/modern-web-guidance/guides/visual-design/soft-edge-content-fade.md
@@ -1,3 +1,5 @@
+# Soft Edge Content Fade
+
## Overview
To apply a transparency gradient to the edges of a container (e.g., to indicate more content is available to scroll or to fade out text), use CSS Masking with a linear gradient. This approach is superior to using a semi-transparent overlay because it actually fades the content itself, allowing the background to show through naturally without interfering with text selection or pointer events.
diff --git a/skills/modern-web-guidance/guides/visual-design/visually-stable-font-fallbacks.md b/skills/modern-web-guidance/guides/visual-design/visually-stable-font-fallbacks.md
index 7016d12..62523ad 100644
--- a/skills/modern-web-guidance/guides/visual-design/visually-stable-font-fallbacks.md
+++ b/skills/modern-web-guidance/guides/visual-design/visually-stable-font-fallbacks.md
@@ -1,3 +1,5 @@
+# Visually Stable Font Fallbacks
+
When web fonts load, they often replace a fallback font that has different dimensions, even if both are set to the same `font-size`. This causes "layout shift" (Cumulative Layout Shift) and can make text illegible if the fallback's lowercase letters (x-height) are significantly different than the preferred font.
The `font-size-adjust` property solves this by normalizing the size of the font based on a specific metric (usually the x-height), ensuring that text occupies the same visual space regardless of which font is currently active.
diff --git a/skills/modern-web-guidance/guides/visual-design/visually-stable-mixed-fonts.md b/skills/modern-web-guidance/guides/visual-design/visually-stable-mixed-fonts.md
index c60dd69..e2c3035 100644
--- a/skills/modern-web-guidance/guides/visual-design/visually-stable-mixed-fonts.md
+++ b/skills/modern-web-guidance/guides/visual-design/visually-stable-mixed-fonts.md
@@ -1,3 +1,5 @@
+# Visually Stable Mixed Fonts
+
When mixing different font families, for instance when inserting inline code snippets, or switching out font families for different themes, differences in "x-height" (the height of lowercase letters) can make one font appear much smaller or larger than the other font. This can lead to poor legibility and layout shifts.
The `font-size-adjust` property allows you to normalize the visual size of text by adjusting the font size based on a specific font metric (usually the x-height).
diff --git a/skills/modern-web-guidance/guides/visual-design/visually-texture-content.md b/skills/modern-web-guidance/guides/visual-design/visually-texture-content.md
index cbb1dca..92eeffa 100644
--- a/skills/modern-web-guidance/guides/visual-design/visually-texture-content.md
+++ b/skills/modern-web-guidance/guides/visual-design/visually-texture-content.md
@@ -1,3 +1,5 @@
+# Visually Texture Content
+
## Overview
To apply realistic weathering or texture patterns (like grunge, noise, or paper texture) to an element, use CSS Masking (`mask-image`) with a repeating texture image. This allows you to make the content itself appear textured by making parts of it semi-transparent, rather than just overlaying a texture on top. This creates a more realistic physical material appearance.
diff --git a/skills/modern-web-guidance/guides/webmcp/agentic-forms.md b/skills/modern-web-guidance/guides/webmcp/agentic-forms.md
index 649eeb9..73307e4 100644
--- a/skills/modern-web-guidance/guides/webmcp/agentic-forms.md
+++ b/skills/modern-web-guidance/guides/webmcp/agentic-forms.md
@@ -1,3 +1,5 @@
+# Agentic Forms
+
The Declarative API transforms standard HTML `<form>` elements into WebMCP tools via attributes. The browser synthesizes a JSON Schema from the form inputs and handles agent interactions.
## Form Attributes
diff --git a/skills/modern-web-guidance/guides/webmcp/agentic-javascript-tools.md b/skills/modern-web-guidance/guides/webmcp/agentic-javascript-tools.md
index 94e0273..e7d741b 100644
--- a/skills/modern-web-guidance/guides/webmcp/agentic-javascript-tools.md
+++ b/skills/modern-web-guidance/guides/webmcp/agentic-javascript-tools.md
@@ -1,3 +1,5 @@
+# Agentic JavaScript Tools
+
The Imperative API uses `document.modelContext.registerTool()` to programmatically define JavaScript tools. This is ideal for Single Page Applications (SPAs) where tools need to be added or removed based on the current route or user state.
## Registration and Lifecycle