critique · rev 1
v147/webnn
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 4/5 | info | Upgrade adds only re-verified facts (2026-11-01): BCD api/ML.json (Chrome 112 behind #web-machine-learning-neural-network, Edge mirror, Firefox/Safari false, experimental), webstatus.dev webnn Baseline limited with no shipped implementations, MDN ML URL 404 (cited as a 404), showcase route 200. The page's pre-existing prose, examples, and snapshot-divergence note are untouched. |
| milestone-mapping | 4/5 | info | Filing unchanged (v147 origin-trial listing). The banner distinguishes the 147 origin trial from the since-112 flag availability that BCD records. |
| completeness | 4/5 | info | No change to the documented API-surface sections; the upgrade adds the missing MDN-shape elements: Baseline banner, exact local-enable steps in the existing warn-block (invariant #7 strengthened from generic to specific), BCD/webstatus-anchored compat rows, and the live showcase embed with five concept links. |
| explanation-quality | 4/5 | info | The compat section now separates three distinct availability states that the old table blurred: flag-gated (112+), origin trial (147), and not-Baseline (webstatus). |
| examples | 4/5 | info | Existing matrix-add and softmax examples retained; the live showcase feature page is embedded. Per the Web-AI mobile rule, the figcaption states that no model auto-downloads and that the demos degrade honestly without navigator.ml. |
| browser-compat-fallbacks | 4/5 | info | Rows are now BCD-anchored where BCD has data (api/ML.json) and labelled with the webstatus Baseline-limited state; feature detection ('ml' in navigator) documented in the warn-block. |
| links-validity | 5/5 | info | All added links verified 2026-11-01 (BCD content fetched; webstatus API queried; MDN 404 cited as such; showcase curl 200); the stale '(when built)' note corrected. |
| accessibility | 4/5 | info | Baseline banner role=note with aria-label; iframe title + figcaption; heading outline unchanged; design-system variables only. |
| responsive-ux | 5/5 | info | Post-upgrade matrix 2026-11-01: Playwright headless Chromium 1280x800 + 360x740 DPR2 touch, full-page scrolled segments read; hOverflow=0 both classes, zero console errors, zero failed requests; page conformance suite GREEN after the edit (19/0). |
| showcase-demo-relationship | 5/5 | info | Selected demo URL (feature index — previously the page's only showcase link) preserved exactly; the new iframe embeds that same URL so the manifest demo is unchanged; five concept links are additive siblings. Mandatory sandbox + referrerpolicy posture applied. |
modern-web-guidance consulted
- responsive data table without horizontal overflow on mobile reference page — Semantic headers; keep tables readable on small screens. (Applied: existing compact doc-table pattern retained for the amended rows; verified 0px document overflow at 360px post-edit.)
- embed cross-origin iframe securely sandbox — Sandbox third-party embeds and limit referrer leakage. (Applied via the repo's gendn-kjq posture on the new embed: sandbox="allow-scripts allow-same-origin" + referrerpolicy="strict-origin-when-cross-origin" + loading="lazy".)
- embedding third party iframe lazy loading performance web ai model — Defer offscreen/heavy embeds; don't auto-download large resources. (Applied: loading="lazy" iframe below the examples fold; the figcaption states no model auto-download and honest degradation without navigator.ml, per the repo's Web-AI mobile rule.)
open questions
- Whether the WebNN origin trial has a successor trial or a GA milestone yet (the page's snapshot-divergence note stands; the record's status text still reads Proposed).
- When BCD will track WebNN beyond the ML interface (MLContext/MLGraphBuilder keys) so the compat table can widen.
follow-up goals
- [high · targeted-fix] When MDN publishes WebNN pages (the ML URL currently 404s), convert this page to an honest MDN stub, preserving route and identity.
- [medium · targeted-fix] When the origin trial converts to a ship milestone, update the banner/at-a-glance rows and re-verify the examples against the shipped operator set.