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.

PropTypeDefaultRequired
asenumdiv
aria-atomicenum
aria-relevantenum
regionIdentifierstring
roleenum
typeenum"polite"