Radio group
Component preview
A named set of mutually exclusive choices where selecting one option clears the previous selection.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: radio buttons, single-choice group, option group
Try it
Compare all three behaviors
Shared comparison scenario: A settings flow asks the user to make a choice and understand whether it is independent, exclusive, or applied immediately.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Radio group
Radio group permits exactly one choice; Checkbox choices are independent, while Switch changes one immediate on or off setting.
Your task
Enter the group with Tab, choose Express with arrows, and verify Standard is cleared.
Edge case to verify
When the group is required and untouched, submission focuses the group and explains that one method must be chosen.
Mission
Enter the group with Tab, choose Express with arrows, and verify Standard is cleared.
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Group label
A shared name that explains the choice represented by the group.
Checkbox represents an independent choice that may wait for submission; Radio group enforces one choice, while Switch applies an on or off setting immediately.
CheckboxSwitch applies one setting immediately; Checkbox usually records a choice for later submission, and Radio group chooses one value among alternatives.
SwitchKeep one choice selected
Selecting one item automatically clears the previous item in the named group.
Navigate with arrows
Arrow keys move through related items according to their visual orientation.
Standard delivery selected
Standard delivery selected
Express delivery selected
Express delivery selected
Standard delivery selected → Express delivery selected
Arrow navigation or direct activation selects Express and clears Standard.
Express delivery selected → Standard delivery selected
Arrow navigation or direct activation selects Standard and clears Express.
fieldset with input[type=radio]
Equivalence caveat: Native radio inputs and a legend provide the group name; styling must preserve the exclusive choice and keyboard model.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Radio group: radio group naming, exclusive selection, focus, and arrow-key interaction guidance.
WHATWG · standard · 2026-07-16
Claim covered: Radio group: native input types, labeling, state, validation, and form participation.
Verified on 2026-07-16 · rev. 1