[Bug][a11y]: A screen reader should announce a Toast message when it is added to the DOM
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
Toast
Expected behavior
A screen reader should announce a Toast message when it is added to the DOM. A develop should not need to remember to add role="status" or role="alert" so that assistive technology will announce the message.
Actual behavior
A screen reader will not announce a Toast message when it is added to the DOM, without additional developer awareness to add role="status" or role="alert."
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to '...'
- Click on '....'
- Scroll to '....'
- Check console
- See error
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
SWC-281
@majornista This has been addressed on our end. I’ve verified the fix using a screen reader in the Storybook environment: https://opensource.adobe.com/spectrum-web-components/storybook/index.html?path=/story/toast--overlay Can you please confirm the behavior on your side as well?