Components
← All components

Form Field

stimeo--form-field

Ties a control to its description and its error, so a screen reader hears them in the right order.

  • Core

The groundwork that ties a control to its description and its error message. Both are given references automatically and reach a screen reader in the order they appear on screen. A control in error is reported as invalid as well. Setting and clearing an error can be driven from markup, and each change is reported. When an error is raised it is announced through the shared announcer. It performs no validation of its own and brings no styling.

running

We'll send a confirmation message.

This demo toggles the field's error state — the ARIA wiring this controller owns. It does not validate input or clear the value. "Show error" marks the field invalid and sends the message to the shared assertive announcer; "Clear error" returns it to the valid state.

Keyboard

This component has no keyboard interactions of its own.