Guidepup transcript: experiment/radio-validation.html — dark
Method: virtual screen reader over a DOM snapshot. Not a real VoiceOver, NVDA, or JAWS test.
- Run: 2026-11-24T00-32-17-199Z
- Source: @uswds/uswds 3.14.0 (npm)
- Git revision: 5ae55174a465533f294c999f181da47d514b2d75
- Browser: 156.0.8078.4
- Viewport: 1280x850
- Page: experiment/radio-validation.html
- State: dark
- Theme: explicit dark or system dark
- Direction: ltr
Phrases
Simulator limitation: jsdom reported 18 unsupported pseudo-element style request(s). CSS-generated content may be omitted.
- document
- link, Skip to main content
- banner
- link, USWDS Futures Lab Independent research and comparison pilot
- USWDS Futures Lab
- Independent research and comparison pilot
- end of link, USWDS Futures Lab Independent research and comparison pilot
- navigation, Primary
- link, Overview
- link, Evaluate
- link, Components
- link, Experiments, current page
- link, Landing demo
- link, Community ideas
- link, Evidence
- link, Methodology
- end of navigation, Primary
- end of banner
- main
- paragraph
- Alternative implementation · Prototype available
- end of paragraph
- heading, Native radio validation, level 1
- paragraph
- A focused reproduction of required radio-group submission, native constraint validation, and browser focus placement.
- end of paragraph
- strong
- Review status: pending.
- end of strong
- No human reviewer has recorded a decision.
- Evidence: No automated evidence in this build.
- region, Working demonstration
- heading, Working demonstration, level 2
- paragraph
- link, Evaluate this experiment
- link, Open the registered demonstration
- end of paragraph
- list
- listitem, level 1, position 1, set size 2
- link, Radio validation
- — baseline and experimental fixtures available.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, Form controls
- — baseline and experimental fixtures available.
- end of listitem, level 1, position 2, set size 2
- end of list
- paragraph
- The evaluation workspace does not mirror keyboard input. Open either implementation independently for keyboard and assistive-technology testing.
- end of paragraph
- end of region, Working demonstration
- region, Proposal and context
- heading, Proposal and context, level 2
- paragraph
- strong
- Status: Prototype. Automated evidence may exist; human review is pending.
- end of strong
- end of paragraph
- paragraph
- strong
- Category:
- end of strong
- Alternative implementation
- strong
- Baseline:
- end of strong
- USWDS v3.14.0
- strong
- Proposal:
- end of strong
- A focused reproduction of required radio-group validation and focus placement.
- end of paragraph
- heading, Why this exists, level 2
- paragraph
- USWDS issue
- link, #6068
- reports that checkbox and radio controls do not support Voice Control. Issue
- link, #6080
- reproduced a related native radio validation problem and was consolidated into #6068 rather than fixed.
- end of paragraph
- paragraph
- This experiment does not claim to fix positioning or Voice Control. It records what the browser actually does with a required group, so a future proposal has a reproducible baseline.
- end of paragraph
- heading, What stable USWDS provides, level 2
- paragraph
- USWDS provides radio markup, visually hidden native inputs, and a label that draws the visible control. The native input remains focusable and participates in form validation.
- end of paragraph
- heading, What is proposed, level 2
- paragraph
- A required radio group with:
- end of paragraph
- list
- listitem, level 1, position 1, set size 6
- a fieldset and legend;
- end of listitem, level 1, position 1, set size 6
- listitem, level 1, position 2, set size 6
- two native radio inputs with
- code
- required
- end of code
- ;
- end of listitem, level 1, position 2, set size 6
- listitem, level 1, position 3, set size 6
- a visible hint that the group is required;
- end of listitem, level 1, position 3, set size 6
- listitem, level 1, position 4, set size 6
- no redundant
- code
- aria-required
- end of code
- or custom
- code
- role="radiogroup"
- end of code
- ;
- end of listitem, level 1, position 4, set size 6
- listitem, level 1, position 5, set size 6
- a submit button and a local status message;
- end of listitem, level 1, position 5, set size 6
- listitem, level 1, position 6, set size 6
- a reset button.
- end of listitem, level 1, position 6, set size 6
- end of list
- heading, What changed in the lab, level 2
- paragraph
- This is a new fixture (
- code
- radio-validation
- end of code
- ) with baseline and experimental variants. The experimental variant adds the theme layer; the validation behavior is native in both. There is no custom validation script.
- end of paragraph
- heading, Evidence status, level 2
- paragraph
- Automated tests record
- code
- document.activeElement
- end of code
- after an invalid submit, native validity, keyboard selection, and the valid submission path. Browser differences are recorded rather than normalized away. Voice Control remains untested by a person.
- end of paragraph
- heading, Known limitations, level 2
- list
- listitem, level 1, position 1, set size 4
- Native validation bubbles are browser-controlled and vary by browser and language.
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- Focus placement after invalid submission may differ between Chromium and Firefox; the test records the actual result.
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- The lab has not tested Voice Control, Dragon, or a real screen reader.
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- The fixture does not fix the upstream radio positioning issue.
- end of listitem, level 1, position 4, set size 4
- end of list
- end of region, Proposal and context
- region, Implementation guidance
- heading, Implementation guidance, level 2
- heading, Markup, level 2
- code
- <form id="radio-validation-form" data-local-validation data-status-target="radio-validation-status"> <fieldset> <legend>How should we contact you? <span class="fixture-required">(required)</span></legend> <p id="contact-hint">Choose one option. The browser will block an empty submission.</p> <div class="usa-radio"> <input class="usa-radio__input" id="contact-email" name="contact" value="email" type="radio" required> <label class="usa-radio__label" for="contact-email">Email</label> </div> <div class="usa-radio"> <input class="usa-radio__input" id="contact-phone" name="contact" value="phone" type="radio" required> <label class="usa-radio__label" for="contact-phone">Phone call</label> </div> </fieldset> <button type="submit">Continue</button> <button type="reset">Clear response</button> </form> <p id="radio-validation-status" role="status" aria-live="polite"></p>
- end of code
- heading, Behavior, level 2
- paragraph
- The form uses native constraint validation.
- code
- site/assets/fixture.js
- end of code
- attaches a local submit handler only to show a status message when the form is valid; it does not replace the browser's invalid-submission behavior. No data is sent.
- end of paragraph
- paragraph
- Do not add
- code
- aria-required
- end of code
- to native
- code
- required
- end of code
- inputs. Do not add
- code
- role="radiogroup"
- end of code
- : the fieldset and legend already provide the group name and relationship.
- end of paragraph
- heading, What the browser exposes, level 2
- list
- listitem, level 1, position 1, set size 5
- The fieldset/legend relationship.
- end of listitem, level 1, position 1, set size 5
- listitem, level 1, position 2, set size 5
- A group of radio inputs with the same
- code
- name
- end of code
- .
- end of listitem, level 1, position 2, set size 5
- listitem, level 1, position 3, set size 5
- code
- required
- end of code
- on each input.
- end of listitem, level 1, position 3, set size 5
- listitem, level 1, position 4, set size 5
- Native
- code
- :invalid
- end of code
- matching after a failed submission.
- end of listitem, level 1, position 4, set size 5
- listitem, level 1, position 5, set size 5
- Focus on the first invalid radio in tested Chromium; record Firefox separately.
- end of listitem, level 1, position 5, set size 5
- end of list
- heading, How to test, level 2
- list
- listitem, level 1, position 1, set size 6
- Open the fixture with JavaScript enabled.
- end of listitem, level 1, position 1, set size 6
- listitem, level 1, position 2, set size 6
- Press Tab to the first radio; use arrow keys and Space.
- end of listitem, level 1, position 2, set size 6
- listitem, level 1, position 3, set size 6
- Submit with no selection; record
- code
- document.activeElement
- end of code
- and
- code
- form.checkValidity()
- end of code
- .
- end of listitem, level 1, position 3, set size 6
- listitem, level 1, position 4, set size 6
- Select an option with the keyboard and submit; verify the local status.
- end of listitem, level 1, position 4, set size 6
- listitem, level 1, position 5, set size 6
- Reset and confirm the status clears.
- end of listitem, level 1, position 5, set size 6
- listitem, level 1, position 6, set size 6
- Repeat with
- code
- ?theme=dark
- end of code
- to check the radio surface and focus ring.
- end of listitem, level 1, position 6, set size 6
- end of list
- heading, What a real contribution would need, level 2
- list
- listitem, level 1, position 1, set size 4
- Reproduce the Voice Control issue with the named speech tool and operating system.
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- Compare native input positioning with possible alternatives.
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- Record browser-specific focus and validation behavior.
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- Propose the smallest upstream change, with regression tests.
- end of listitem, level 1, position 4, set size 4
- end of list
- heading, Known gaps, level 2
- list
- listitem, level 1, position 1, set size 3
- No real Voice Control session.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- No real screen-reader session.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- The browser's validation bubble cannot be inspected programmatically.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Implementation guidance
- region, Evidence and limitations
- heading, Evidence and limitations, level 2
- paragraph
- No automated evidence in this build.
- end of paragraph
- paragraph
- link, Open the evidence index
- for transcripts, screenshots, axe observations, and coverage gaps.
- end of paragraph
- paragraph
- Automated evidence is not human approval. The decision record remains authoritative.
- end of paragraph
- end of region, Evidence and limitations
- region, Related USWDS history
- heading, Related USWDS history, level 2
- list
- listitem, level 1, position 1, set size 2
- link, #6068 Checkbox and radio Voice Control
- (motivation)
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, #6080 Radio native validation
- (historical-consolidation)
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, Related USWDS history
- region, Experiment files
- heading, Experiment files, level 2
- list
- listitem, level 1, position 1, set size 4
- link, README
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- link, Implementation
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- link, Test plan
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- link, Decision record
- end of listitem, level 1, position 4, set size 4
- end of list
- paragraph
- AI assistance disclosed by the contributor: issue research, initial implementation, test scaffolding, documentation drafting. A human reviewer must assess the evidence before any upstream proposal.
- end of paragraph
- end of region, Experiment files
- end of main
- contentinfo
- paragraph
- MIT-licensed comparison code. USWDS and third-party assets keep their own licensing terms. This lab is independent of GSA, USWDS, OGDS, and CivicActions.
- end of paragraph
- paragraph
- link, Methodology, provenance and governance
- ·
- link, Evidence
- ·
- link, Source lock
- end of paragraph
- end of contentinfo
- end of document
Limits
- Guidepup is a simulator over the DOM; CSS-only differences (including dark appearance) are not represented in speech.
- Axe and browser assertions are separate evidence. A transcript difference is not automatically a regression.
- Real assistive-technology testing remains outstanding.