04
Content
- The summary's title says what to do: "Fix these to continue".
- Each item is worded exactly as its field's error.
- Errors say how to fix it, with an example.
Fields that check themselves on submit, server errors by name, and a summary of what to fix.
<form>Server-rendered01
02
error-summary<div>At the top: a danger alert (role="alert") inside, its title a heading; it takes focus.error-summary-list<ul>Each problem, in the fields' order, linked to its control.field-error<div>The same words, on the field itself.03
04