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 • 2 comments

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

SWC-281

najikahalsema avatar Feb 05 '25 16:02 najikahalsema

@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?

Rajdeepc avatar Oct 30 '25 11:10 Rajdeepc