← v152/reference-target-for-cross-root-aria · conformance
critique · rev 1
v152/reference-target-for-cross-root-aria
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 4/5 | info | Every claim traced to a primary source fetched live on 2026-07-28: Chromium IDL (shadow_root.idl, shadow_root_init.idl, html_template_element.idl quoted verbatim), runtime_enabled_features.json5 (ShadowRootReferenceTarget status stable, origin_trial_feature_name; ShadowRootReferenceTargetAriaOwns has NO status field — documented as not enabled), WICG explainer (supported-attributes list, five-item live-references list quoted, Phase 1/2 split, sp-checkbox/md-dialog examples), chromestatus API record (ship stage 160 desktop/android/webview 152; OT stage 150 ran 133–135; TAG #961 closed; mozilla #1035 positive; webkit #356 open), BCD api/ShadowRoot.json + html/elements/template.json (133/144/26 flag-gated records), WPT tentative tree (15 files listed by name). Risk: the spec PRs are open, so prose tracks the explainer/IDL rather than merged normative text; both pages say so. |
| milestone-mapping | 5/5 | info | Feature id 5188237101891584 appears in the milestone=152 listing under 'Enabled by default' (verified 2026-07-28); folder v152/reference-target-for-cross-root-aria/ matches slug and milestone exactly; 'Shipped in Chrome 152' is anchored to the authoritative listing, and the chromestatus identity link is on both pages. |
| completeness | 4/5 | info | Case B confirmed by live MDN 404 probe (ShadowRoot/referenceTarget member page 404s; MDN ShadowRoot page lists the member as Non-standard with no member docs). Inventory covers the declarative attribute, ShadowRoot.referenceTarget, ShadowRootInit.referenceTarget, the HTMLTemplateElement reflection, and the forwarding algorithm itself; each carries nine resolved dimensions across the two pages. Out of scope by design: Phase 2 (referenceTargetMap, exportid) and aria-owns forwarding (separate unfinished flag) — both called out as caveats rather than silently dropped. |
| explanation-quality | 4/5 | info | Overview leads with the encapsulation problem (sp-checkbox/md-dialog), then mechanism (host → reference target IDREF substitution), then interactions; the child page keeps the nine-dimension IDL contract. The sibling aria-actions relationship is explained as composition (Element-reflection getters return the host), not duplication. The 'unknown ID is not an error, resolution is live' subtlety is stated in both errors sections. |
| examples | 4/5 | info | Semantic pre/code blocks: the ChromeStatus declarative custom-checkbox example (verbatim), the explainer's imperative sp-checkbox, and getter/reflection readbacks on the child page. No CPS concept route exists for this feature (feature index 200; label-for/aria-labelledby/basics all 404) so no iframe is embedded — pages link to the showcase feature page and the Microsoft Edge demo instead, per the Case B contract. |
| browser-compat-fallbacks | 4/5 | info | Tabular compat on both pages: BCD records verbatim (Chrome 133 flag, Firefox 144 dom.shadowdom.referenceTarget.enabled, Safari 26 two preferences) plus a labelled interim note that the milestone=152 listing records enabled-by-default while BCD has not caught up (freshness gap disclosed, not papered over). WPT cited as the 15-file tentative tree mapped to web-feature 'referencetarget' via WEB_FEATURES.yml; per-run pass counts NOT invented (wpt.fyi summary endpoint returned empty for the Chrome 152 run — disclosed on the page). Feature-detect snippet provided. |
| links-validity | 4/5 | info | All outbound URLs were fetched during research (explainer 200, IDLs 200 via googlesource base64, PRs/issues checked via api.github.com, intents verified by subject match on the message-id URLs, Edge demo 301→canonical trailing-slash URL used, CPS route HEAD 200). Internal links: child route, /v151/aria-actions/, /v151/declarative-shadow-dom-shadowrootslotassignment-attribute/ (published siblings). |
| accessibility | 4/5 | info | Single h1 per page with ordered h2 sections; caption + scoped headers on the supported-attributes and compat tables; baseline banner is role=note with aria-label; code in pre/code; warn-block uses the strong-label pattern (no fake headings). Guidance consulted: accessibility + css-layout (see guidanceConsulted). |
| responsive-ux | 3/5 | minor | House styles applied defensively (h1/.lede overflow-wrap:anywhere, .table-wrap min-width 34rem horizontal scroll, long msgid URLs allowed to wrap), but mobile+desktop screenshots still pending at critique time — will be verified on PORT=3188 and the matrix updated before handoff; a known sibling-family column-crush pattern (v151 capability-elements) is being watched for. |
| showcase-demo-relationship | 4/5 | info | Chrome Platform Showcase has a feature index route for this feature (HEAD 200) but no concept sub-routes to embed; the page links to it explicitly with the HEAD-check date and explains why no iframe is embedded, matching the Case B fallback rule. |
modern-web-guidance consulted
- accessible technical reference documentation page for a Web Components accessibility feature: tables of attributes, IDL code blocks, cross-linked child pages — Use one h1 with sequential heading levels; give data tables a caption and scope=row/col headers; keep code in semantic pre/code; provide a text alternative pattern (role=note + aria-label) for status banners; avoid fake headings built from bold paragraphs. (Applied: single h1 per page, ordered h2s, caption+scoped tables (supported-attributes, compat), role=note baseline banner with aria-label, pre/code throughout, strong-label warn-block pattern.)
- responsive reference page with wide monospace tables and very long unbreakable strings (URLs, msgid links) at 390px mobile viewport: preventing horizontal overflow and column crush — Prefer natural flow over fixed widths; wrap wide tables in a horizontally scrolling container with an explicit min-width so columns never crush; allow unbreakable strings to wrap with overflow-wrap:anywhere; verify layout stability at small widths. (Applied: .table-wrap with overflow-x:auto and min-width 34rem on doc tables, overflow-wrap:anywhere on h1/lede/table cells; screenshots on PORT=3188 pending as the final verification step.)
open questions
- BCD freshness: when mdn/browser-compat-data records Chrome 152 as the enabled-by-default milestone for api.ShadowRoot.referenceTarget and html.elements.template.shadowrootreferencetarget, the interim notes on both compat tables should be revisited and simplified.
- Spec landing: if whatwg/html PR #10995 and whatwg/dom PR #1353 merge with normative text differing from the WICG explainer (e.g. the supported-attributes list or live-reference triggers), the mechanism and interactions sections need a normative-spec re-anchor.
- aria-owns forwarding: ShadowRootReferenceTargetAriaOwns currently has no status field (not enabled anywhere). If it gains a stable status or ships, the caveat in the warn-block and the child errors table becomes wrong.
- WPT pass counts: wpt.fyi's summary endpoint returned empty results for the Chrome 152 run at fetch time; a later fetch could add real per-test pass data to the compat row.
follow-up goals
- [medium · targeted-fix] Track BCD updates for web-feature 'referencetarget' (api.ShadowRoot.referenceTarget, html.elements.template.shadowrootreferencetarget): when Chrome 152 enabled-by-default lands in BCD, simplify the interim compat notes on /v152/reference-target-for-cross-root-aria/ and its shadowroot-referencetarget child page.
- [high · targeted-fix] Re-anchor /v152/reference-target-for-cross-root-aria/ to merged normative spec text when whatwg/html PR #10995 and whatwg/dom PR #1353 land; verify the supported-attributes list and live-reference triggers against the merged algorithms.