← v160/capability-elements-icon-only-mode · conformance
critique · rev 1
v160/capability-elements-icon-only-mode
Implementation-sufficient Chrome 160 reference for Capability Elements Icon-only mode, sourced directly from Blink html_capability_element_base.cc, capability_element.css, ax_node_object.cc, unit tests, w3c/mediacapture-extensions PR #184, and ChromeStatus 5107682460696576.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Verified directly against Chromium Blink html_capability_element_base.cc (IsIconOnly, ParseAttribute, SetPermissionText, AdjustStyle), capability_element.css, html_capability_element_base_test.cc, ax_node_object.cc, runtime_enabled_features.json5, w3c/mediacapture-extensions PR #184, and ChromeStatus 5107682460696576 on 2026-11-24. Explicitly documents the divergence between Blink's displayhint="icon-only" content attribute and PR #184's draft MediaElementDisplayHint enum. |
| milestone-mapping | 5/5 | info | Feature 5107682460696576 appears under 'Enabled by default' in ChromeStatus milestone=160 with listing name 'Capability Elements Icon-only mode'; H1 matches listing name; full 16-digit ChromeStatus link declared in .doc-table ChromeStatus row. |
| completeness | 5/5 | info | reference-contract.json maps 3 source-derived inventory items (displayhint content attribute, UA icon-only rendering & style constraints, accessible name synchronization) across all 9 required dimensions. |
| explanation-quality | 5/5 | info | Explains element scope (<camera>, <microphone>, <geolocation> vs excluded <usermedia> and <install>), ASCII case-insensitive matching, UA CSS changes, preserved anti-clickjacking checks, and why screen-reader accessible names remain intact. |
| examples | 4/5 | minor | Two complete semantic <pre><code> examples covering compact video-call/map markup with progressive fallback and responsive matchMedia toggling via setAttribute/removeAttribute. No chrome-platform-showcase demo exists yet (HEAD returned 404 on 2026-11-24). |
| browser-compat-fallbacks | 5/5 | info | Documents absence of BCD/webstatus.dev entry, ChromeStatus 160 desktop/Android listing, trunk experimental flag status, two-tier progressive fallback (default icon+text button in Chrome 153-159; light-DOM fallback button in non-supporting browsers), and lack of reflected IDL property. |
| links-validity | 5/5 | info | Zero unlinked source labels; every primary source (ChromeStatus, PR #184, explainer, Blink C++/CSS/tests, intent, TAG review, MDN) carries a verified <a href> with target='_blank' rel='noopener'. |
| accessibility | 5/5 | info | Single <main>, sequential h1/h2/h3, On-this-page <nav class='local-nav'>, captioned tables with <th scope>, focusable .table-wrap regions with aria-labelledby and :focus-visible outline, and role='note' Baseline banner. |
| responsive-ux | 5/5 | info | Uses shared public/styles.css tokens without redundant inline overrides, logical max-inline-size: 100% on .table-wrap, min-width scroll tables, and verified desktop + mobile 360px screenshots. |
| showcase-demo-relationship | 4/5 | info | HEAD check on https://chrome-platform-showcase.paulkinlan-ea.deno.net/v160/capability-elements-icon-only-mode/ returned 404 on 2026-11-24; no showcase link or broken iframe emitted so manifest demo remains honestly null. |
modern-web-guidance consulted
- accessible navigation landmarks skip links semantic HTML — Place all content in semantic landmarks (<main>, <header>, <nav>, <footer>), maintain sequential headings (h1-h3), use semantic tables with <caption> and <th scope>, and wire scrollable regions with aria-labelledby and visible :focus-visible outlines. (Applied: single <main>, <header class='lede-block'>, <nav class='local-nav' aria-label='On this page'>, sequential h1/h2/h3, captioned .doc-table tables with <th scope='col|row'>, and focusable .table-wrap regions linked to captions via aria-labelledby.)
- responsive data table mobile overflow typography code blocks dark mode — Use logical sizing (max-inline-size: 100%) with horizontal scroll containers (.table-wrap) for multi-column tables rather than clipping with overflow: hidden, and flex-wrap for wrapping lists. (Applied: .table-wrap uses max-inline-size: 100%, wide tables set min-width (30rem/34rem) inside scrollable wrappers, and the example toolbar CSS recommends flex-wrap: wrap for graceful text-button fallback.)
- responsive data table mobile overflow typography code blocks dark mode — Keep headings balanced and code blocks horizontally scrollable on narrow viewports without forcing body horizontal overflow. (Applied: relies on shared /public/styles.css heading wrapping, code block scrolling, and readable inline code tokens without overriding pre/h1/code inline.)
- responsive data table mobile overflow typography code blocks dark mode — Use semantic light-dark() design tokens from the shared stylesheet instead of hardcoded inline colors so light and dark color schemes maintain WCAG AA contrast. (Applied: zero hardcoded colors in page inline <style>; all colors inherit from /public/styles.css variables (var(--accent-blue), etc.).)
open questions
- Track whether Chromium updates displayhint="icon-only" or adds a reflected IDL property if w3c/mediacapture-extensions#184 merges with MediaElementDisplayHint values ("icon", "text", "icon+text").
- Verify when CapabilityElementIconOnlyMode flips from status: "experimental" to "stable" in Blink runtime_enabled_features.json5.
- Embed a live Chrome Platform Showcase iframe if a v160/capability-elements-icon-only-mode concept demo is published.
follow-up goals
- [medium · targeted-fix] Update Syntax and Compatibility sections if w3c/mediacapture-extensions#184 merges or Chromium aligns displayhint values / adds IDL reflection.
- [low · targeted-fix] Embed a live Chrome Platform Showcase iframe once a v160/capability-elements-icon-only-mode concept demo is published.