Description
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
Snackbars are not being read by a screen reader in various scenarios but the majority of the issues are with Firefox...
- NVDA screen reader + Firefox: Screen reader is not reading the snackbar when triggering it with a button
- NVDA screen reader + Firefox: Screen reader is not reading the snackbar when triggering it with a menu
- NVDA screen reader + Firefox: Screen reader is not reading the snackbar when triggering it with a button within a dialog
- NVDA screen reader + Chrome: Screen reader is not reading the snackbar when triggering it with a button within a dialog
Expected Behavior 🤔
Snackbar should always be read by the screen reader no matter the scenario.
Steps to Reproduce 🕹
https://codesandbox.io/s/snackbar-accessibility-s58hj?file=/App.js
Context 🔦
We are trying to release a product that needs to be accessible and will not be able to release the product if this issue is not resolved. We are in the process of figuring out a work around. Our current solution is to not use the snackbars but to use alerts instead. We still need to do more testing but the alerts seem to function better. We have also done some testing with the Web version of the Material IO snackbar and it seems to function better. We have also tested many Google products that also function correctly.