← v147/web-printing-api · conformance
critique · rev 2
v147/web-printing-api
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Replaced the shallow and inaccurate overview with the current WICG IDL plus Chromium main binding/implementation: normative Window.printing, cachedAttributes(), fetchAttributes(), and submitPrintJob(jobName, Blob, attributes), WebPrintJob event/cancel surface, full dictionary and enum inventory. Chromium names WindowOrWorkerGlobalScope, which is recorded as an implementation/spec divergence rather than a normative worker surface. The old navigator.printing and printJob spellings are explicitly marked unsupported rather than silently repeated. |
| completeness | 5/5 | info | Thirty-one source-declared public interfaces, members, dictionaries, typedefs, and enums map one-to-one to stable local routes/fragments, each with all nine reference-contract dimensions, executable-shaped code, compatibility tables, and direct primary links. The previously omitted WebPrintingMediaSizeDimension typedef now documents its exact WebPrintingRange-or-unsigned-long branches, nested WebPrintingMediaSize use, fixed requested-media contrast, and Chromium union conversion. |
| browser-compat-fallbacks | 5/5 | info | ChromeStatus is Proposed and is_released false. Its I2S desktop target 147 is not release proof; Android is null. Every compatibility table distinguishes that record from the current Chromium service guard, which only binds on ChromeOS+CUPS and otherwise makes getPrinters() throw SecurityError. Firefox and Safari are No signal; BCD has no API member entry and webstatus query has no feature entry. No generic Chrome or mobile availability claim is made. |
| accessibility | 5/5 | info | Added skip link, a focusable main target, ordered headings, semantic navigation, semantic tables with captions/scoped headers, and native links. Wide tables and code blocks retain internal horizontal scrolling rather than forcing document overflow. |
| responsive-ux | 5/5 | info | Leaf CSS uses intrinsic main shell, wrapped TOC columns, overflow-contained tables, overflow-wrap anywhere, and existing house pre overflow. Headless CDP on 2026-07-26 measured overview scrollWidth exactly equal to viewport at desktop 1280×800 (1280) and mobile 360×740 DPR3 (360), with zero console errors and zero failed requests; screenshots were reviewed from /tmp/web-printing-desktop.png and /tmp/web-printing-mobile.png. responsive-support.json is shared and intentionally untouched, so the integrator must record this evidence. |
modern-web-guidance consulted
- accessible long technical reference navigation tables code blocks — Use landmarks, sequential headings, skip link, semantic tables/captions/scoped headers, and native navigation. (Applied in every reference page: skip link, main focus target, nav, h1 then h2 sequence, captions and scoped table headers.)
- responsive technical documentation tables and code examples accessible overflow mobile — Use intrinsic sizing, avoid document-level horizontal overflow, and use overflow:auto only for intentional internal scrolling. (Applied: table-wrap is the scroll container with overflow-x:auto and overscroll containment; code relies on house pre internal scrolling; cells wrap and TOC collapses to one column.)
- accessible long technical reference navigation responsive tables horizontally scrollable code blocks — Scroll-state shadows are a noncritical progressive enhancement; a basic scroll container is an acceptable fallback. (Exception: no custom scroll indicator added because tables/code retain native scrollbars and visible borders; explanatory content remains accessible without the non-Baseline hint.)
open questions
- Independent source-fidelity review is pending. Do not promote reference-contract completeness beyond partial until a reviewer reconciles every inventory item and behavioral claim against current WICG, Chromium, ChromeStatus, and compatibility sources.
- WICG normatively exposes the manager on Window only; Chromium’s WindowOrWorkerGlobalScope binding is an implementation/spec divergence. Public sources do not settle usable worker behavior; test the target Chrome/IWA runtime before relying on it.
- Current Chromium binding requires the third submitPrintJob argument while normative IDL makes it optional. Pass {} or attributes for portability until sources converge.
- ChromeStatus remains Proposed and there is no public BCD/webstatus API record; re-derive compatibility before any shipping claim.
- Permission chooser granularity, persistence, enterprise policy behavior, and exact IWA installation/platform requirements are not fully settled in the public proposal.
follow-up goals
- [high · targeted-fix] Re-run this reference against the ChromeStatus release/intent record and BCD/webstatus when the API moves beyond Proposed.
- [high · targeted-fix] Execute the manager and WebPrinter surface in a target IWA build, including worker exposure and permission UX, then replace explicit unknowns only with observed evidence.