You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the danger state is important visual information that calls warning to potentially destructive or irreversible processes/actions we need to communicate that to our screen reader users as well.
This can be done a few ways, but off the top of my head I might try adding a visually hidden span with a unique id that can be referenced in an aria-describedby attribute on the button itself something like this perhaps
The text was updated successfully, but these errors were encountered:
dakahn
changed the title
Button's don't communicate danger state to screen reader users
Buttons don't communicate danger state to screen reader users
Mar 30, 2021
dakahn
changed the title
Buttons don't communicate danger state to screen reader users
Button doesn't communicate danger state to screen reader users
Mar 30, 2021
If the danger state is important visual information that calls warning to potentially destructive or irreversible processes/actions we need to communicate that to our screen reader users as well.
This can be done a few ways, but off the top of my head I might try adding a visually hidden
span
with a unique id that can be referenced in anaria-describedby
attribute on the button itself something like this perhapsThe text was updated successfully, but these errors were encountered: