Use when
- Form submission can produce one or more errors.
- Errors may appear outside the current viewport or across multiple form sections.
Show a focused summary near the form heading with a clear title and linked error messages, then repeat matching messages at the affected fields.
Users submit a page or step with validation errors and need an immediate overview plus a route to each answer that must be fixed.
The form can fail after submit, cross-field validation, or server validation.
Show a focused summary near the form heading with a clear title and linked error messages, then repeat matching messages at the affected fields.
Neutral form before submit with no summary.
Dead links to missing or hidden fields.
Use a heading and alert behavior that makes the summary discoverable.
Submit the form, follow the summary link, and inspect whether the field error is reachable.
Launch the live UI/UX lab when you want to inspect states, keyboard behavior, and common failure modes.
Neutral form before submit with no summary.
Focus can move to the summary after failed submit.
Showing a red banner or toast with no links to the invalid answers.
Government Digital Service - checked
GOV.UK error summary guidance requires a top-of-page summary, keyboard focus, linked error items, and matching field messages.
Government Digital Service - checked
GOV.UK error message guidance supports the paired field-level messages that remain beside each invalid answer.
Last verified: