Announce
Announces messages to screen readers.
Features
- Mirrors visual alert content in an `aria-live` container for proper screen reader support.
Install the component from your command line.
Import the component.
Use the announce primitive.
Contains the content to announce.
Prop | Type | Default | Required |
---|---|---|---|
as | enum | div | |
aria-atomic | enum | ||
aria-relevant | enum | ||
regionIdentifier | string | ||
role | enum | ||
type | enum | "polite" |