ErrorSummary
A linked validation summary that focuses host-owned invalid fields.
Preview
Use ErrorSummary
ErrorSummary is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- The host supplies errors; ErrorSummary does not infer validation or submit a form. Each entry links to an exact field ID.
- Normal activation focuses the target while modifier navigation remains native. onSelect can cancel the action before focus moves.
- announcement defaults to off. autoFocus opts into focus on appearance, not on every error update, and suppresses duplicate live announcements. Empty errors render nothing. Introduced in 0.2.7.
API reference
View TypeScript source