WCAG 2.1 AA • AODA compliant • Updated 2025-10-28
What is this component? Radios allow choosing exactly one option within a set. Group by shared name and provide a group label via <fieldset>/<legend>.
| Requirement | WCAG Criteria | Description |
|---|---|---|
| Grouping | 1.3.1 | Use fieldset/legend; one selection per group. |
| Labels | 3.3.2 | Each radio has a descriptive label. |
| Keyboard | 2.1.1 | Tab into group; arrow keys move; Space selects. |
| Focus Visible | 2.4.7 | Provide clear focus styles. |
| ARIA Role/Attribute | Used On | Purpose & Usage |
|---|---|---|
<input type="radio"> | Native radio | Preferred; exposes role and state. |
role="radiogroup" | Custom container | Use when building non‑native groups; manage focus and aria-checked. |
name.name.| Test Item | WCAG Criteria | Pass Criteria |
|---|---|---|
| Group announced | 1.3.1 | Legend read as group name. |
| Keyboard | 2.1.1 | Arrows move; Space selects; Tab exits group. |