Skip to content

Add ARIA live region support for toast announcements #594

@ajth-in

Description

@ajth-in

Description

Currently, the toast component does not expose any ARIA live region attributes such as aria-live, role="status", or role="alert". As a result, screen reader users may not be notified when a new toast appears unless they manually move focus to it.

Toast notifications are dynamic status messages. Without live region support, they are not announced automatically by assistive technologies, which limits accessibility compliance.

Explanation / motivation

In the rendered markup:

  • There is no role="status" or role="alert".
  • There is no aria-live="polite" or aria-live="assertive".
  • There is no aria-atomic="true".

This means new toast content may not be announced to screen reader users when mounted.

Additional information

  • I can implement this feature/improvement

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions