Usage
A text field is a rectangular area in which people enter or edit small, specific pieces of text.
Given that I am on a screen with a text input field
| When I use | I see/hear |
|---|---|
| Tab or arrow keys | Focus visibly moves to the input |
| Spacebar | Input can be edited |
| When I use | I hear |
|---|---|
| Swipe | Focus moves to the input, expresses its name, role, state then any instructions |
| Doubletap | Keyboard appears appears to edit |
| Reads | I hear |
|---|---|
| Name | Purpose is clear and matches visible label |
| Role | Identifies itself as text field |
| Group | Visible label and instructions are read with the input in focus |
| State | If applicable, it expresses its state (required, dimmed, invalid) |
| When I use | I see |
|---|---|
| Text resize | Text can resize up to 200% without losing information |
A text field is a rectangular area in which people enter or edit small, specific pieces of text.