You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Screen readers see two "Notifications" landmarks #31719
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open T3 Code (web or desktop) with NVDA running.
Open the landmarks list (NVDA+F7, Landmarks), or press D to move between landmarks.
Expected behavior
One "Notifications" landmark, for the corner toasts.
Actual behavior
There are two landmarks with the same name, "Notifications region". Both are present even when no toast is showing.
The root route mounts two toast providers (apps/web/src/routes/__root.tsx): ToastProvider and AnchoredToastProvider. Each one renders a Base UI Toast.Viewport (apps/web/src/components/ui/toast.tsx), and Base UI gives every viewport role="region" and aria-label="Notifications" by default. The anchored viewport only holds small toasts shown next to the button that triggered them (such as "Copied"), so it does not need to be a landmark. It still needs to stay a live region so those toasts are announced.
Activity