← v151/algorithm-updates-in-webcrypto · conformance
critique · rev 1
v151/algorithm-updates-in-webcrypto
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | IDL copied verbatim from the WICG draft: the partial SubtleCrypto interface (encapsulateKey/encapsulateBits/decapsulateKey/decapsulateBits/getPublicKey/static supports with both overloads), the KeyFormat extension (raw-public/raw-private/raw-seed/raw-secret), the KeyUsage extension (encapsulate*/decapsulate*), and the EncapsulatedKey/EncapsulatedBits dictionaries. The 11-family algorithm roster (ML-KEM, ML-DSA, SLH-DSA, AES-OCB, ChaCha20-Poly1305, SHA3-256/384/512, cSHAKE128/256, TurboSHAKE128/256, KT128/KT256, KMAC128/256, Argon2d/i/id) and its normative references (FIPS 203/204/205, FIPS 202, NIST SP 800-185, RFC 7253/8439/9106/9861) trace to the spec's Introduction and per-algorithm Registration/Operations sections; the example's 'ML-KEM-768' is a verbatim registered name from §6.2. Availability provenanced to the direct chromestatus API (updated 2026-06-17 15:42 UTC): v150 listing 'In developer trial (Behind a flag)', v151 listing 'Origin trial', active stage intent 3 = INTENT_ORIGIN_TRIAL desktop 151–154 (resolved from core_enums.py), ship estimate unset (desktop=None), status 'Proposed'. Vendor signals decoded from source: ff_views=8 / safari_views=8 = NEUTRAL (not 'no signal'). |
| milestone-mapping | 5/5 | info | Feature id 5198951632470016 appears in features_by_type for milestone=150 ('In developer trial (Behind a flag)') — listing position authoritative per invariant #2, re-verified 2026-07-24. Slug 'algorithm-updates-in-webcrypto' derived from the LISTING name via the server slugify. The same id in the v151 listing (Origin trial) does not move this page; v151's folder remains future additive work. |
| completeness | 5/5 | info | 7 h2 sections: at a glance, Syntax (verbatim IDL + enum/dictionary extensions + per-member contract table), algorithm roster (11 families with kinds/operations/references), Examples (live embed + composed snippet), Browser compatibility (interim non-BCD), Specifications (draft + base REC + normative refs), See also (OT documentation, intent thread, registration, showcase concepts). |
| explanation-quality | 5/5 | info | Lede separates the two things the update does (new algorithm families vs new SubtleCrypto members); the roster table maps each family to its kind/operations/normative reference at a glance; the warn-block distinguishes the v150 flag path from the registerable 151–154 origin trial and prescribes supports()-first feature detection, since every algorithm is optional to implement per the spec. |
| examples | 5/5 | info | Live showcase concept embedded (ml-kem-key-exchange, HEAD-checked 200 with capability-matrix, ml-dsa-signatures, chacha20-poly1305, hybrid-session-key; all four linked in See also). Embed exercised in chrome-devtools-mcp: iframe loaded after scroll (network 200); clicking 'Run key exchange' produced the honest live response 'crypto.subtle.encapsulateBits is unavailable — enable the flag above' — a real call attempt, real error, no fake success. Companion snippet composes the verbatim IDL signatures (optional supports guard → generateKey → encapsulateKey → decapsulateKey) with a spec-registered algorithm name, and its citation explicitly says the draft provides no ML-KEM JavaScript example. |
| browser-compat-fallbacks | 5/5 | info | No webstatus.dev entries (ML-KEM and webcrypto queries both empty), and direct inspection of BCD api/SubtleCrypto.json shows none of the six new members; MDN's SubtleCrypto page has zero mentions of the new algorithms/methods as of 2026-07-24. The page says so, links the exact BCD file, and labels the table 'interim — from ChromeStatus, not BCD'. Edge is 'Not separately reported' with the no-Chromium-equivalence note; Firefox and Safari are correctly 'Neutral' (enum 8), not conflated with 'No signal'. |
| links-validity | 5/5 | info | All outbound links fetched during research (spec 200, OT documentation doc, blink-dev intent thread, origin-trials page, W3C REC, 5 showcase routes all 200). All target=_blank links carry rel=noopener (suite assertion external-links-rel-safe: pass). Zero empty anchors (suite: pass). Canonical chromestatus.com/feature/5198951632470016 identity link present (suite: pass). |
| accessibility | 5/5 | info | Single <main>, single <h1>, heading order h1→h2 intact (member contracts in a captioned table rather than skipped-level headings). All 5 data tables carry <caption> plus th scope=col/row. Iframe has a descriptive title; scrolling not disabled. Baseline banner marked role=note with aria-label. |
| responsive-ux | 5/5 | info | Matrix pass: responsive scan desktop:ok mobile:ok (shots read). chrome-devtools-mcp at 1280×800 and 390×844: documentElement.scrollWidth equals innerWidth on both, zero overflowing elements, zero tables scrolling (overflow-wrap:anywhere on cells), baseline chips wrap, iframe 342px fits. No 100vh/dvh traps. |
| showcase-demo-relationship | 5/5 | info | Embed src contains chrome-platform-showcase.paulkinlan-ea.deno.net/v150/algorithm-updates-in-webcrypto (suite demo-embed-own-feature: pass) and the showcase feature carries the same canonical identity (chromestatus.com/feature/5198951632470016, verified on its index). Suite cpsFeature references the CPS conformance contract at /v150/algorithm-updates-in-webcrypto/ml-kem-key-exchange/conformance rather than forking platform assertions. |
modern-web-guidance consulted
- responsive cryptography API reference page with algorithm tables and IDL blocks on mobile — Let long unbreakable tokens wrap (overflow-wrap), wrap flex rows, and keep intrinsic sizing so narrow viewports never gain unintended horizontal scroll. (Applied: doc-table cells use overflow-wrap:anywhere (zero tables scroll at 390px despite long identifiers like WebCryptoAdditionalAlgorithms202606), baseline chips flex-wrap, table-wraps retain overflow-x:auto as a safety net, pre blocks keep the design-system overflow-x:auto.)
- accessible reference documentation semantics landmarks headings tables live regions iframe titles — One main landmark, one h1, semantic tables with caption + th scope, descriptive iframe titles, and don't disable iframe scrolling. (Applied: single main/h1, 5/5 tables captioned with scope, iframe title 'Live example — ML-KEM key exchange (Algorithm Updates in WebCrypto)', scrolling left enabled, banner role=note + aria-label.)
- embed third-party iframe demo lazily without hurting page performance, with accessible title and fallback link — Use native loading="lazy" with explicit dimensions on below-the-fold iframes to avoid layout shift and deferred fetch. (Applied: loading="lazy" width=100% height=520 on the below-the-fold embed; network log shows the showcase document fetched only after scroll-into-view, zero failed requests.)
open questions
- Availability is frozen at the 2026-07-24 fetch of the direct chromestatus API (updated 2026-06-17): dev trial 150, origin trial 151–154, ship estimate unset, status 'Proposed'. When the trial ends, a ship estimate appears, or status moves, re-fetch the API (never the rendered page) and refresh the banner, warn-block, at-a-glance, and compat table; also re-check webstatus.dev/BCD/MDN for new entries.
- The v151 listing has the same feature id as Origin trial — when the routine reaches v151, build v151/algorithm-updates-in-webcrypto with then-current sources (and the v151 showcase family, which already has its own concept set, as the embed source).
follow-up goals
- [medium · targeted-fix] When the WebCrypto Additional Algorithms origin trial ends (after Chrome 154) or a ship estimate/status change appears, refresh this page's availability claims from the then-current direct chromestatus API and re-check webstatus.dev/BCD/MDN for new entries.