GC Design System Components Installation Page templates Contact us Get involved Find a demo GC Design System Components

Error summary
<gcds-error-summary>

Also called: error list.

An error summary is a list of user errors in a form.

Error summary component preview

Error summary anatomy

  1. The heading communicates that there's a problem. This is set by default and can be edited to be more specific.
  2. The error summary is a collection of error messages on the page, listed in order of their appearance on the form.
  3. The error summary item links to the error context and includes the same text as the error message (a call to action statement to address the error).
A red rectangle frames a prominent heading that reads 'There's a problem' and a numbered list of 3 links with error summary items in the link text.

Design and accessibility for error summaries

Create usable error summaries

Keep in mind that errors interrupt the flow of a person's action in your product. This can be jarring and uncomfortable.

Use the error summary with your own component instances

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2025-04-16