spectrum-web-components
spectrum-web-components copied to clipboard
[Bug][a11y]: A screen reader should announce a Toast message when it is added to the DOM
trafficstars
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