Usage
Disclosure controls reveal and hide information and functionality related to specific controls or views.
Given that I am on a screen with a disclosure expander
When I use | I see/hear |
---|---|
Arrow keys or ctrl + tab | Focus visibly moves to the control |
Spacebar | Element toggles between states |
When I use | I hear |
---|---|
Swipe | Focus moves to the disclosure control, expresses its name and state |
Doubletap | Control toggles between states |
Reads | I hear |
---|---|
Name | Its purpose is clear and matches visible label |
Role | It has no role |
Group | Any visible label is read with the control in a single swipe |
State | It expresses its state (expanded/collapsed) |
When I use | I see |
---|---|
Text resize | Text can resize up to 200% without losing information |
Increased contrast | Focus outline becomes high contrast |
Disclosure controls reveal and hide information and functionality related to specific controls or views.