formstexulinot agent-emittableapp
FieldError
field-error
An alert-role error message for a field.
Live examples
Error message
Error message
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
show | boolean | no | true | — |
class | string | no | — | — |
children | slot | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- role=alert; show=false renders nothing while the host keeps aria wiring.
Evidence for field-error
Latest committed gates for field-error (as of 2026-10-23). Static snapshot — not live CI.
Behavior
n/ano behavior scenario
No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).
Size (gzip)
texuli/field-error · budget 12.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Surface a validation error next to a control
Don’t use when
Prefer another component
- Help text that is not an error (use description)