Input
Keyboard
Press Tab to focus the input, then type. Read only lets you read and select the value without changing it.
Semantics
A placeholder is not a label. For invalid input, set aria-invalid and link an error message to the field.
Checklist
- Associate a label with the input or give it an accessible name. Do not rely on the placeholder alone.
- Set
aria-invalidfor errors and usearia-describedbyto link the error message. - Check
readOnlyanddisabledseparately, including how they affect copying and form submission.
For contrast, zoom and screen reader checks, see the common accessibility checklist.