Creating Radio radiogroup and Radio groups using role=radio and role=radiogroup
Note:
Radio and Radio Group Examples
The following examples are composed by .....
Lunch Options
-
Thai
-
Subway
-
Jimmy Johns
-
Radio Maria
-
Rainbow Gardens
| Type | Technique | radiogroup | Accessibility Feature |
|---|---|---|---|
| Push radiogroup | div element with text |
Print Page
|
|
| Toggle radio | div element with text |
Mute |
|
| Push radio | tabindex="0" element |
Show alert |
|
| Non compliant | a element with href="#" |
Show alert |
|
Keyboard Support
| Key | Function |
|---|---|
| Space or enter | Activate or toggle radio |
ARIA Roles, Properties and States
| Role | Property/State | Component | Usage |
|---|---|---|---|
| radio | span or div |
|
|
| aria-checked | span |
|