Skip to content
Component passports token-kit

ErrorSummary

ErrorSummary — the list of what went wrong, at the top of the page. After a form is submitted with mistakes: a box above the page's heading titled "There is a problem", every error as a link to its fi

Evidence

What the kit's own checks measured on this component, from their committed records. A result is what was found, not a certificate.

CheckWhat it measuresResultWhen
Contrastevery text and boundary pair labelled with its elements, in every pack, surface and density the fixture holds56 pairs, 0 failed; closest 12.63:1 for error-summary/link (wireframe / inverse / default), needs 4.5:12026-11-27
Controlsevery prop reachable from a story's controls4 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only4 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values4 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title4 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width4 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll4 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast4 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving4 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called4 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page4 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll4 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinErrorSummary: mean Δ 3.81, worst 3.81 over 1 skin2026-10-18
Figmawhere it is drawn in the Figma library2 components in the library; Code Connect linked; 4 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 16 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
errorsotheryesnot drawn
titletextnoErrorSummary.Title
descriptioncontentnoErrorSummary.Show description, ErrorSummary.Description
focusOnShowbooleannonot drawn
titlePrefixothernonot drawn

Tokens it reads

focus-color, leading-snug, radius-md, radius-nested, size-lg, space-1, space-2, space-3, space-4, space-5, status-danger-line, status-danger-text, surface-raised, text-primary, weight-bold, weight-semibold