Use when
- Users must choose exactly one option.
- There are roughly two to seven meaningful options that benefit from visible comparison.
Show a labeled group of native radio inputs with visible options, clickable labels, optional hints, one selected value at a time, and group-level validation when required.
Users need to make one mutually exclusive choice from a short set while seeing every available option before deciding.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
The option set is short, stable, and mutually exclusive.
Show a labeled group of native radio inputs with visible options, clickable labels, optional hints, one selected value at a time, and group-level validation when required.
No selection state for required unanswered groups.
Custom buttons without radio semantics or keyboard behavior.
Use a programmatic group label through fieldset/legend or an accessible radiogroup name.
Government Digital Service - checked
GOV.UK radios guidance supports one option from a list, fieldset/legend grouping, no careless preselection, and group-level errors.
U.S. Web Design System - checked
USWDS radio button guidance supports mutually exclusive choices, label click targets, vertical layout, spacing, and cautious defaults.
W3C Web Accessibility Initiative - checked
APG radio group guidance documents keyboard behavior, roles, checked state, labels, and descriptions for custom implementations.
Source trail checked: