-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Open
Labels
accessibilitya11ya11yscope: toastChanges related to the toast.Changes related to the toast.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
When snackbars are triggered from a button within a dialog they are not read by the screen reader.
Expected behavior 🤔
When snackbars are triggered from a button within a dialog they should be read by the screen reader.
Steps to reproduce 🕹
Steps
- User launches NVDA or JAWS
- User opens https://codesandbox.io/s/dialog-snackbar-not-accessible-gzl5o?file=/demo.js in Chrome, Firefox or Edge
- User clicks the "OPEN DIALOG" button and the dialog is launched
- User clicks the "OPEN SNACKBAR" button within the dialog and the snackbar is launch
- The screen reader does not read the snackbar and the user of the assistive technology is unaware the snackbar exists
Context 🔦
We are building forms and flows that combine the dialog and snackbar components. We need some none intrusive alerts that inform users their task was successful. Snackbars fit our need but are not accessible when triggered from a button within a dialog.
Your environment 🌎
`npx @mui/envinfo`
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
mccannk, leober, karalaina, TheWilks and vromaniv-liaison
Metadata
Metadata
Assignees
Labels
accessibilitya11ya11yscope: toastChanges related to the toast.Changes related to the toast.type: bugIt doesn't behave as expected.It doesn't behave as expected.