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 full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
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.
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.
Source trail checked: