Skip to content

Alerts

Status notifications with semantic ARIA roles for accessible urgency communication.

Variants

A new software update is available for your device.
Your changes have been saved successfully.

With Titles

Information

This feature is currently in beta and may change in future releases.

Payment Received

Your transaction has been processed and a receipt has been sent to your email.

Dismissible

You can dismiss this informational message by clicking the close button.

Without Icons

This alert is displayed without an icon for a cleaner, minimal appearance.

Rich Content

Before You Begin

  • Ensure your API key is configured in the environment variables.
  • Review the getting started guide for setup instructions.
  • Check the changelog for breaking changes before upgrading.

ARIA Roles

Alerts use semantic ARIA roles to communicate urgency to screen readers. The danger and warning variants use role="alert" which triggers assertive announcements, interrupting the current speech. The info and success variants use role="status" which provides polite announcements, waiting until the screen reader finishes its current output before reading the alert content.

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency