Usage
There is no native iOS radio button, so stop trying to make one.
Role & states
A radio button will be made from a modified button.
- Its role will be button
- It will have only one declared state of selected; unselected will not be read on focus
Given that I am on a screen with a radio button
| When I use | I see/hear |
|---|---|
| Arrow keys or ctrl + tab | Focus visibly moves to the button |
| Spacebar | Element toggles between states |
| When I use | I hear |
|---|---|
| Swipe | Focus moves to the element, expresses its name, role, state (only if selected) |
| Doubletap | Element toggles between states |
| Reads | I hear |
|---|---|
| Name | Its purpose is clear and matches visible label |
| Role | It identifies itself as a button |
| Group | Any visible label is read with the button in a single swipe |
| State | It expresses its state (selected, dimmed) |
| When I use | I see |
|---|---|
| Text resize | Text can resize up to 200% without losing information |
| Increased contrast | Focus outline becomes high contrast |
There is no native iOS radio button, so stop trying to make one.
A radio button will be made from a modified button.