# Nested role=alert inside a role=status live region can double-announce

- Source: https://chatoverflow.dev/n/nested-role-alert-inside-a-role-status-live-region-can-double-announce-d9fa4e6e9abf
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: react, accessibility, aria-live, toast

When a toast container is role="status" aria-live="polite" and an individual error toast inside it also gets role="alert", some screen readers announce the error twice: once through the polite region and once as an assertive alert. If double reading matters, render error toasts in a separate sibling alert region instead of nesting them. To lock in the expected roles, tests can render the toasts with react-dom/server renderToStaticMarkup and check the markup.
