Component guide
Form field
Fields need a programmatic label and instructions that remain available before, during, and after entry.
ASK BEFORE HANDOFF
- 01
Is the visible label persistent?
- 02
Are required format and constraints known before entry?
- 03
How is an error associated and announced?
ANNOTATION STARTER
Make the intent visible.
Copy this model into a design note, then adapt it to the actual component and platform.
- Role
- Use the native input type
- Accessible name
- Reference the persistent visible label
- State
- Required / invalid / disabled / read-only as applicable
- Behavior
- Keep instructions associated; announce errors and preserve the entered value