1 viewer
Component · Feedback
ErrorMessage
Accessible error summary.
- Category
- Feedback
- Slots
- 3
- States
- 1
- Writer
- Shared
Preview
<ErrorMessage detail="Single primary <h1> landmark invariant violated on subview." title="Verification Refusal (Policy PS-C-1)" />
Anatomy
The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.
| Slot | DOM class |
|---|---|
| root | .primitive-errormessage |
| title | — |
| detail | — |
States and platforms
The states the contract publishes, the platforms it declares, and the style recipes that dress it.
States
Platforms
Recipes
Renderers
Every tag in the example above renders through a shared writer.
Declared adapters. A status is the manifest's declaration, not a measured parity result.
| Target | Renderer | Status |
|---|---|---|
| web | react | experimental |
| runtime-node | view-node | ready |
| ssr | html-semantic | ready |
| terminal | terminal-text | planned |
| native | native-adapter | experimental |
Accessibility
Errors are announced through assertive alert semantics.
- Use alert semantics for urgent error text.
- Wire the announced name and supporting detail through aria relationships.