Guidepup transcript: component/radio-validation.html — initial
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: component/radio-validation.html
- State: initial
- Theme: light/system
- Direction: ltr
Phrases
Simulator limitation: jsdom reported 42 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, current page
- link, Experiments
- link, Landing demo
- link, Community ideas
- link, Evidence
- link, Methodology
- end of navigation, Primary
- end of banner
- main
- paragraph
- Forms
- end of paragraph
- heading, Radio validation, level 1
- paragraph
- Investigate required radio groups, native constraint validation, and focus placement.
- end of paragraph
- strong
- Baseline:
- end of strong
- USWDS 3.14.0 with authored fixture markup.
- link, Official component guidance
- ·
- link, Official accessibility tests
- link, Evaluate this component
- link, Open forced-colours capture
- region, Purpose
- heading, Purpose, level 2
- paragraph
- Reproduce how a required radio group behaves when a form is submitted with no selection, including where focus lands and what the browser exposes.
- end of paragraph
- end of region, Purpose
- region, When to use it
- heading, When to use it, level 2
- list
- listitem, level 1, position 1, set size 2
- A required choice must be made before submission.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- The team wants to rely on native browser validation rather than a custom widget.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, When to use it
- region, When not to use it
- heading, When not to use it, level 2
- list
- listitem, level 1, position 1, set size 2
- The group is optional; do not mark it required to demonstrate validation.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- A custom validation pattern is already in place and tested.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, When not to use it
- region, Implementation
- heading, Implementation, level 2
- list
- listitem, level 1, position 1, set size 4
- Use a fieldset and legend for the group.
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- Put required on the native radio inputs.
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- Do not add redundant aria-required to native required inputs.
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- Let the browser prevent submission and report the invalid control.
- end of listitem, level 1, position 4, set size 4
- end of list
- paragraph
- link, Read the implementation guide
- end of paragraph
- end of region, Implementation
- region, Keyboard behavior
- heading, Keyboard behavior, level 2
- list
- listitem, level 1, position 1, set size 3
- Arrow keys move between radio options.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Space selects the focused option.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Submitting an empty group leaves focus on the first invalid radio in tested browsers.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Keyboard behavior
- region, User preferences
- heading, User preferences, level 2
- list
- listitem, level 1, position 1, set size 2
- The visible radio boundary and focus ring must meet non-text contrast.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- Native validation bubbles are browser-controlled and may not be customizable.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, User preferences
- region, Common implementation mistakes
- heading, Common implementation mistakes, level 2
- list
- listitem, level 1, position 1, set size 3
- Adding role=radiogroup or aria-required to a native fieldset without evidence.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Replacing radios with clickable divs.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Assuming every browser moves focus to the same element.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Common implementation mistakes
- region, How to test it
- heading, How to test it, level 2
- list
- listitem, level 1, position 1, set size 3
- Submit with no selection and record document.activeElement.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- Select with the keyboard and submit successfully.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- Test in Chromium and Firefox; record the browser-specific result.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, How to test it
- region, Known limitations
- heading, Known limitations, level 2
- list
- listitem, level 1, position 1, set size 2
- Voice Control and real screen-reader confirmation remain outstanding.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- The lab records browser behavior; it does not change upstream radio positioning.
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, Known limitations
- region, Experiments involving this component
- heading, Experiments involving this component, level 2
- article
- paragraph
- Alternative implementation
- Prototype available
- end of paragraph
- heading, Native radio validation, level 2
- link, Native radio validation
- end of heading, Native radio validation, level 2
- paragraph
- A focused reproduction of required radio-group submission, native constraint validation, and browser focus placement.
- end of paragraph
- paragraph
- Components:
- link, Radio validation
- ,
- link, Form controls
- . Review: pending.
- end of paragraph
- paragraph
- User preferences: Forced colours, Reduced motion, Large text, Narrow viewport and reflow, No JavaScript.
- end of paragraph
- paragraph
- Accessibility concerns: Voice control untested, Real screen-reader testing outstanding.
- end of paragraph
- paragraph
- Automated evidence: 0 of 0 fixture routes collected (none). Manual test definitions: 10; published evidence records none as completed.
- end of paragraph
- paragraph
- Evidence: No automated evidence in this build.
- end of paragraph
- paragraph
- link, Evaluate
- link, Registered demonstration
- end of paragraph
- end of article
- end of region, Experiments involving this component
- region, Fixtures and comparison
- heading, Fixtures and comparison, level 2
- list
- listitem, level 1, position 1, set size 3
- link, Open the evaluation workspace
- (4 registered states)
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- link, Open the baseline fixture independently
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- link, Open the experimental fixture independently
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Fixtures and comparison
- region, Test scenarios
- heading, Test scenarios, level 2
- list
- listitem, level 1, position 1, set size 1
- radio-required: Submit an empty required radio group and inspect focus and validity (form)
- end of listitem, level 1, position 1, set size 1
- end of list
- end of region, Test scenarios
- region, Evidence
- heading, Evidence, level 2
- paragraph
- No evidence has been collected in this build. Human review is pending.
- end of paragraph
- paragraph
- link, Open the evidence index
- end of paragraph
- end of region, Evidence
- region, Sources and history
- heading, Sources and history, level 2
- list
- listitem, level 1, position 1, set size 2
- link, #6068 Checkbox and radio Voice Control
- (open)
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, #6080 Radio native validation
- (consolidated)
- end of listitem, level 1, position 2, set size 2
- end of list
- paragraph
- Source lock:
- link, v3.14.0
- . This page describes an independent lab fixture, not an official USWDS example.
- end of paragraph
- end of region, Sources and history
- 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.