ARIA radiogroup Role
The radiogroup role marks a group of radio buttons where only one can be checked at a time. It needs a label that describes the choice.
Description
The radiogroup role identifies a group of radio buttons, of which only one can be checked at a time. The group must have an accessible name that describes the choice, such as "Delivery method", usually given with aria-labelledby. Screen readers announce the group name when users move into it.
Custom radio groups manage focus so that only one radio is in the Tab order, and the arrow keys move between radios and check them. Set aria-required on the group, not the individual radios, when a choice must be made.
With native radio buttons, a <fieldset> and <legend> provide the group and its name, and are usually preferred. You can still add role="radiogroup" to the fieldset to have it announced as a radio group.
Properties
- Category
- Composite Widget
- HTML equivalent
- None
- Accessible name from
- author
- Required parent role
- None
- Required child roles
radio
ARIA Attributes
- Required
- None
- Supported
aria-activedescendant,aria-errormessage,aria-invalid,aria-orientation,aria-readonly,aria-required- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="radiogroup">
Example
Browser Support
The following information will show you the current browser support for the radiogroup ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





