GC Design system Components Installation Contact us Get involved 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? Something you'd change or you'd like to see? Share your feedback with us to help improve GC Design System.

Give feedback
2024-10-17