3 ms·
How do you announce the drawer to the screen readers? For the people down voting: Drawers and other content that appear on the page needs to be announced and n
by egeozcan 3y ago
How do you announce the drawer to the screen readers?
For the people down voting: Drawers and other content that appear on the page needs to be announced and needs to have a state aria-expanded next to the controlledby.
This is still a genuine question. Maybe there is a way, or maybe developers collectively think that's not important (our auditors would disagree but, anyway).
- withinboredom 3y agoI believe it is announced as soon as you add it to the DOM and make it visible. I don’t have a computer near me to test it, but that’s what I remember when testing this stuff out a few years ago.
- dawnerd 3y agoI’ve had to add a bunch of js to support this in the past when accessibility reports come back saying there’s no announce, mainly around css only dropdown navs.
- withinboredom 3y agoDo you remember which reader software it was?
- simonw 3y agoEvery single time I go looking for JavaScript components like this I find myself asking the same question. I really wish component providers would start explicitly documenting this. My dream is to find a component library where each component is accompanied by videos showing how each thing behaves in different accessibility tools.