← v158/support-for-webhid · conformance
critique · rev 1
v158/support-for-webhid
Implementation-sufficient Chrome 158 reference for Support for WebHID (bringing WebHID to Chrome on Android 17 / API level 37+), sourced from WHATWG WebHID, Blink HID IDL/C++, hid_service_android.cc, BCD, webstatus.dev, and ChromeStatus 5172464636133376.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | WebIDL verified verbatim from WHATWG WebHID Living Standard and Blink hid.idl/hid_device.idl/navigator_hid.idl/worker_navigator_hid.idl; Android 17 (API level 37) requirement, WebView exclusion, and six enterprise policies verified from ChromeStatus 5172464636133376, blink-dev Intent to Ship, and Chromium hid_service_android.cc. |
| milestone-mapping | 5/5 | info | Feature 5172464636133376 appears under 'Enabled by default' in /api/v0/features?milestone=158 with listing name 'Support for WebHID'; slug support-for-webhid matches lib/chromestatus.ts slugify(); H1 equals listing name; chromestatus.com/feature/5172464636133376 declared in .doc-table ChromeStatus row. |
| completeness | 5/5 | info | reference-contract.json maps 4 source-derived inventory items (navigator.hid/HID enumeration, HIDDevice lifecycle & I/O, events & report descriptors, and Chrome 158 Android 17+ platform/policy contract) across all 9 dimensions with verified selectors. |
| explanation-quality | 5/5 | info | Clearly explains what changes in Chrome 158 (Android 17+ rollout without IDL changes), why Android WebView is excluded, and documents every method, filter constraint, error path, and enterprise policy. |
| examples | 4/5 | minor | Two complete semantic <pre><code> examples covering feature detection, getDevices/requestDevice/open/inputreport/sendReport/receiveFeatureReport, and descriptor inspection + forget(). No chrome-platform-showcase demo exists yet (HEAD returned 404 on 2026-11-24). |
| browser-compat-fallbacks | 5/5 | info | Honest Limited availability banner matching webstatus.dev; compatibility table combines BCD desktop Chrome/Edge 89, Mozilla Negative (#459), WebKit Oppose (#510), ChromeStatus 158 Android 17+, explicit WebView unsupported note, and candid note that BCD still lists chrome_android: false. |
| links-validity | 5/5 | info | Every visible source label carries a direct <a href> with target='_blank' rel='noopener'; full 16-digit ChromeStatus ID 5172464636133376; all primary spec, Blink, Chrome Enterprise, BCD, webstatus.dev, and WPT URLs verified on 2026-11-24. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3 hierarchy, semantic tables with <caption> and <th scope>, keyboard-focusable .table-wrap scroll regions with role='region' aria-labelledby and :focus-visible outline, <nav class='local-nav'> with aria-label, Baseline banner role='note'. |
| responsive-ux | 5/5 | info | Uses upgraded shared public/styles.css layout with logical max-inline-size: 100% .table-wrap horizontal scrollers, .lede before .baseline-banner, wrapping .local-nav and .baseline-browsers, and zero redundant inline overrides. |
| showcase-demo-relationship | 4/5 | info | HEAD check on https://chrome-platform-showcase.paulkinlan-ea.deno.net/v158/support-for-webhid/ returned 404 on 2026-11-24; no broken iframe or speculative showcase link emitted. |
modern-web-guidance consulted
- accessible navigation landmarks skip links focus management — Wrap content in semantic landmarks (<main>, <header>, <nav>, <footer>), maintain sequential heading hierarchy (h1-h3), use semantic <table> with <caption> and <th scope>, and provide visible :focus-visible outlines on keyboard-focusable scroll containers. (Applied: single <main>, <header class='lede-block'>, <nav class='local-nav' aria-label='On this page'>, sequential h1/h2/h3, captioned tables with <th scope='col|row'>, and tabindex='0' role='region' aria-labelledby on wide .table-wrap regions with 3px :focus-visible outline.)
- responsive reference documentation layout tables code blocks mobile desktop — Use logical sizing properties (max-inline-size: 100%), overflow: auto scroll containers for wide data tables and code blocks, and flex-wrap with gap rather than overflow: hidden clipping. (Applied: .table-wrap constrains width via max-inline-size: 100% with min-width on .compat-table and .scroll-table; relies on shared public/styles.css flex-wrap and overflow-x: auto rules without inline pre/h1/code overrides.)
- typography code blocks dark mode reference docs — Use semantic light-dark() design tokens from the shared stylesheet so typography, tables, and code blocks adapt cleanly to light and dark color schemes without hardcoded colors. (Applied: uses shared /public/styles.css semantic CSS variables exclusively (no hardcoded colors or inline overrides of pre, code, h1, or blockquote).)
open questions
- Update Browser compatibility once BCD api/HID.json records chrome_android: '158' and once Edge on Android confirms WebHID support.
- Embed a live Chrome Platform Showcase iframe if chrome-platform-showcase publishes a v158/support-for-webhid concept demo.
follow-up goals
- [low · targeted-fix] Refresh the Browser compatibility table once BCD api/HID.json updates chrome_android from false to 158.