← v154/light-dismiss-improvements-for-popovers-and-dialogs · conformance
critique · rev 1
v154/light-dismiss-improvements-for-popovers-and-dialogs
New Case-B full reference for the Chrome 154 click-based light dismiss behavior change. MDN covers the base popover/dialog features (Popover_API, popover attribute, HTMLDialogElement.closedBy all 200) but not this change, so a full page was written about the change itself, with both spec PR diffs fetched and quoted verbatim and all uncertainty (open PRs, missing intent thread, sign-in-walled crbugs, absent BCD entry, 404 showcase route) stated on-page rather than papered over.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | All algorithm text quoted verbatim from fetched diffs: whatwg/html PR #11536 (patch-diff .diff, 257 lines, fetched 2026-10-04) and w3c/pointerevents PR #460 (.diff, 71 lines). Current-spec definitions quoted from live html.spec.whatwg.org popover.html + interactive-elements.html fetches. Flag LightDismissFromClick status stable grepped from runtime_enabled_features.json5 with its rationale comment quoted. ChromeStatus summary/motivation quoted directly. One inference is labelled as gendn's reading on-page (the 'Otherwise' branch covering keyboard-synthesized clicks). |
| milestone-mapping | 5/5 | info | Feature id 6209615938322432 confirmed present in /api/v0/features?milestone=154 under category 'Enabled by default' with listing name 'Light dismiss improvements for popovers and dialogs' (fetched 2026-10-04); slug derived from the listing name; shipping stage records desktop/android/webview_first = 154. |
| completeness | 4/5 | minor | Five inventory items (migration + four rewritten algorithms) all nine-dimension mapped; single page proportionate for a behavior change with no new API surface. Not covered: the Chromium implementation history (an earlier landing was reverted per the PR thread summary) is mentioned only via the warn-block's 'may still be refined' framing, and the related whatwg/html#12008 follow-up PR on immediate-light-dismiss edge cases is not documented. |
| explanation-quality | 4/5 | info | Page separates unchanged author syntax (#syntax) from the changed algorithms, gives a before/after input-sequence table, and states the observable timing consequence (light dismiss now runs immediately before click dispatch, per the PE #460 insertion point before 'Dispatch event to target'). |
| examples | 4/5 | minor | Semantic pre/code example with popover=auto + dialog closedby=any and comments stating the 154 behavioral difference; dead-workaround guidance included. Examples are source-derived and labelled gendn-derived, not executed; no live demo embed possible (showcase route 404). |
| browser-compat-fallbacks | 4/5 | info | BCD checked and honestly reported absent for the change (html/global_attributes.json popover and html/elements/dialog.json closedby fetched 2026-10-04); chromestatus ship data shown labelled 'interim'; base-feature rows cite BCD versions (popover 114/125/17; closedby 134/141/preview); Baseline claims from webstatus.dev (popover newly 2025-01-27; dialog-closedby limited); page states feature-detection is impossible (no API surface to probe). |
| links-validity | 4/5 | minor | Every named source is a direct link with target=_blank rel=noopener; zero unlinked source labels. Known soft spots stated on-page: both crbug links resolve to a sign-in wall (descriptions attributed to the chromestatus motivation field), no intent-to-ship thread exists to link (chromestatus intent_thread_url null, said explicitly), and the showcase link points at the index because the feature route 404s. |
| accessibility | 4/5 | info | Single h1, sequential h2 outline with anchor ids, baseline banner role=note with aria-label, blockquote for verbatim spec definitions, algorithm steps as real ol lists inside .algo blocks, tables with thead/th. Verified in the rendered screenshot: heading hierarchy and tables legible at 1280px. |
| responsive-ux | 4/5 | info | House pattern applied: overflow-wrap on h1/lede/code, .table-wrap{overflow-x:auto} around all four tables, pre{overflow-x:auto}, table-layout:fixed. Checked via headless-Chrome screenshots at 1280x2400 and 360x740 (read back; no horizontal page overflow, no clipped text). Warn-block strong recolored to var(--text-charcoal) for AA contrast instead of amber-on-paper. |
| showcase-demo-relationship | 3/5 | minor | chrome-platform-showcase /v154/light-dismiss-improvements-for-popovers-and-dialogs/ HEAD-checked 404 on 2026-10-04, so no iframe embedded (routine rule: never embed a non-200 route); page says so explicitly, links the showcase index, and the examples section carries the code snippet fallback. Re-embed when the demo lands. |
modern-web-guidance consulted
- popover dialog light dismiss accessible dismissal behavior — closedby="any" + showModal() is the declarative light-dismiss pattern; style ::backdrop; use aria-labelledby; do not rely on click for critical pre-close logic — listen for close/cancel events. (Applied: the examples section uses closedby="any" with showModal() and notes that light dismiss still routes through the close watcher so cancel/close fire as before; the dialog-algorithm section documents the ::backdrop hit-test note verbatim.)
- popover dialog light dismiss accessible dismissal behavior — Use native Dialog/Popover semantics and keep documents resilient static HTML with semantic structure. (Applied: page is fully static semantic HTML (no JS), blockquote/ol/table semantics for spec quotes, algorithms, and compat data.)
- reference documentation page responsive tables code blocks no horizontal overflow — Semantic table/thead/th foundation inside an overflow wrapper so tabular data stays readable and navigable on small screens. (Applied: all four tables use thead/th where columnar and sit in .table-wrap{overflow-x:auto}; exception recorded: sticky-header/container-query stacking not adopted — these are short reference tables, not large scrolling datasets, and the house .doc-table pattern keeps the shared design system consistent.)
open questions
- Both spec PRs (whatwg/html#11536, w3c/pointerevents#460) were still open on 2026-10-04; if they merge with changes, the quoted algorithm steps must be re-verified against the merged text.
- A PR-thread summary mentioned an earlier Chromium landing was reverted for production CHECK failures before relanding; the revert history could not be independently verified from this session (issue tracker behind sign-in), so the page does not assert it.
- No intent-to-ship thread is recorded on ChromeStatus; when one appears, add it to the at-a-glance table.
- The claim that synthetic element.click() cannot trigger light dismiss is derived structurally from the PE #460 insertion point (inside UA click dispatch) plus the pre-change isTrusted assert; a WPT citation would make it airtight.
- Whether Edge inherits the change at 154 is unrecorded anywhere checked; the compat row says 'Unknown — not yet recorded' rather than assuming mirror.
follow-up goals
- [medium · targeted-fix] Embed the chrome-platform-showcase demo iframe for v154/light-dismiss-improvements-for-popovers-and-dialogs once the route returns 200 (404 on 2026-10-04); prefer a concept subroute.
- [high · targeted-fix] When whatwg/html#11536 and w3c/pointerevents#460 merge, re-verify the quoted algorithms against the merged spec text, swap PR citations for live spec section anchors, and drop/soften the warn-block.
- [medium · targeted-fix] Add the blink-dev Intent to Ship link to the at-a-glance table when ChromeStatus records one, and watch BCD for a version note on the click-based light dismiss change to replace the interim chromestatus compat row.