spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug][a11y]: A screen reader should announce a Toast message when it is added to the DOM

Open majornista opened this issue 2 years ago • 0 comments
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?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

majornista avatar Jun 30 '23 18:06 majornista