Context
Complex order and liquidity forms can contain multiple validation failures.
Inline errors alone are difficult to scan and navigate after submission.
Scope
- Add a summary component that lists form errors and links to invalid fields.
- Focus the summary after a failed submit when configured.
- Support a concise title and optional correction guidance.
- Document integration with the shared Field component.
Acceptance criteria
- Error links move focus to the associated field.
- Summary count and title are announced once after failed submission.
- Dynamic error changes do not cause repeated disruptive announcements.
- Works when fields are inside a scrollable dialog.
- Tests cover linking, focus movement, updates, and empty state.
Out of scope
- Introducing a form-state library.
- Defining business validation rules.
Context
Complex order and liquidity forms can contain multiple validation failures.
Inline errors alone are difficult to scan and navigate after submission.
Scope
Acceptance criteria
Out of scope