Error Summary
A whole-form error summary. On an invalid submit it shows a `role="alert"` listing each invalid field as a link that moves focus to the field, and flags the fields `aria-invalid` — the WCAG error-recovery pattern for a form, distinct from a single field's inline message.
- Axe
- Focus
Preview
Installation
npx shadcn@latest add https://ui.publictheta.com/r/error-summary.jsonConformance
Verified against the @publictheta/ui-spec error-summary specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.