#74
Form element validation states
Components and Patterns · Practitioner
What is this skill?
Form element validation states involves implementing error styling, error messages, and error summaries on form components to show users when they've made mistakes.
Why is it important?
- User guidance – Help users understand and fix their errors
- Accessibility – Error states must be announced to screen readers
- Design system compliance – Follow GOV.UK error patterns correctly
- Realistic testing – Test how users respond to validation feedback