Forum Discussion
MarieStratton-e
8 months agoCommunity Member
Alt text on states
I have added alt text to the states on my buttons so that they read collapsed and expanded as per aria expanded standards.
I cannot figure out why the four buttons in this story are behaving diffe...
SamHill
8 months agoSuper Hero
Hi Marie, the "selected" state should work, but what I have found with interacting with elements using a screen reader is you tend not to get the updated state announced until you navigate away and then back to the element. What about other states such as "visited" or any custom states you develop? Do you have the same problem with those? I don't have any issue with states being read by screen readers, only the issue I mention at the start (updated state not being announced when the element still has focus).