[Rangegroup] Explainer updates: spec alignment pass + interaction mode #1513
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 617 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.384
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1513"
general
weight: 0.35
lukewarlow
I did a pass through the explainer against the latest specs and recent CSSWG / Open UI discussions. The core proposal hasn't changed—most of this pass is about tightening the wording, fixing spec citations, and resolving a few internal contradictions.
Spec Alignment & Wording Fixes
Switched CSS Forms links to the Editor's Draft: We were linking to the TR snapshot while referencing
::slider-track,::slider-fill, and::slider-thumb. That snapshot still lists the older::track/::fill/::thumbsyntax and flags naming as unresolved. Since CSSWG resolved to keep theslider-prefix (csswg-drafts#9830), the explainer now points to the ED and explicitly notes why. Also clarified which pseudos come from CSS Forms versus the ones we're introducing (::slider-segment,::slider-tick,::slider-tick-label).Aligned with the split fill model: CSSWG recently resolved (19 Feb 2026) to split the fill into
::slider-fill-over/::slider-fill-under, with::slider-fillaliasingunder. Because multi-range handling came up in that discussion, the explainer now maps the two models cleanly: single-thumb controls use over/under, while multi-thumb controls use::slider-segment(n). This also clears up a contradiction where we previously claimed::slider-fillstyled the space between multi-range thumbs.Clarified form association and
name: The<rangegroup>nameattribute was vaguely described as being "for identification." To avoid confusion around form submission, we aligned it with<fieldset>: it's form-associated and listed, but not submittable on its own. The group name only appears inform.elements, while child inputs handle their own name/value pairs. We addedformto the attribute list to match and closed the open question on group-level submission for v1 (dual submission risks payload mismatches across browsers and breaks progressive enhancement).Explicit HTML change for
<legend>: Using<legend>as a direct child of<rangegroup>requires updating its HTML content model (which currently only allows<fieldset>and<optgroup>). We now call this out directly as an explicit spec ask, citing the<optgroup>update for customizable<select>as precedent, alongside a fallback pattern that validates today.Reframed datalist snapping as proposed: We previously claimed arrow keys snap to datalist ticks "following existing conventions," but native range controls only snap on pointer input (keyboard navigation is still strictly step-driven). This is now framed as a proposed feature, with an open question on whether it should apply strictly to
rangegroupor any range with alist.Quick Corrections & Polish
*
::-ms-prefixes:* Labeled as legacy IE/EdgeHTML (modern Edge runs Chromium and uses WebKit pseudos).accent-color: Noted as the only standardized tint available today.interactivitycollision: Clarified that the name collision is with CSS UI 4'sinteractivity, since a CSSinteractionproperty doesn't exist.listattribute on groups: Noted that movinglistto<rangegroup>is an explicit ask, and flagged that fallback markup won't render ticks without duplicating the attribute onto child inputs.Vertical orientation: Since
slider-orientationis flagged for rework in the ED (csswg-drafts#11891), we no longer present it as a settled solution.Thumb custom property: Added a note that UA-defined
--slider-thumb-positioncan be overridden by authors, so it might need a different shape.<legend>exception inside<fieldset disabled>.Single-Thumb Handling
Expanded the section on single-thumb groups to explain how they relate to standard
<input type="range">withappearance: base. A group with a single thumb still behaves like a standard single control (one thumb, one filled area, one unfilled area), but gains the shared track coordinate space, group-level attributes (min,max,list), and the group label. This keeps the mapping to::slider-fill-over/::slider-fill-underconsistent. It also means we have a baseline on which we can expand more easily.Interaction Modes & Naming
No functional changes here:
endpointsremains default andrangeis opt-in. We did, however, give the naming caveat its own dedicated paragraph in Track Click Behavior. It explicitly lists the collisions (interactivity,inputmode), notes whydraggablewas dropped (global attribute clash), and makes clear that the core interaction behavior is what matters, regardless of the final attribute name. Discussion stays on #1460.Issue References
Updated all citations so claims point directly to their supporting discussions, pulling in the relevant CSSWG threads alongside our existing Open UI issues. Open UI numbers and telecon resolutions remain untouched.