Help to understand how DismissButton works for screen-readers #2998
Replies: 1 comment 2 replies
-
Quick update: I was trying different screen readers. With this one (https://chrome.google.com/webstore/detail/screen-reader/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en) I managed to navigate phrase by phrase using Control+Command+Keyboard Arrows. Then using this example https://react-spectrum.adobe.com/react-aria/useOverlayTrigger.html#example I managed to focus on the DismissButton. So, my understanding now is like: If we provide a clear close button (let's suppose, on a dialog, close to a "confirmation" button), the DismissButton wouldn't be required. Am I understanding correct? 😅 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
1st of all, thanks a lot for your hard work on this library. I'm always using it on my personal projects, and recently I suggested it to my team and we started using it at the company I work on. :)
Can you, please, help me understand exactly how DismissButton works from a screen-reader point of view?
I tried to add this component and use some screen reader softwares, but I was never able to "reach" this button (not sure if I was doing something wrong tho).
So, how exactly the users interact with this button? Via tabs/keyboard arrows and it became focused?
When it is read by the screen reader software?
Shall I used it on my Dialogs, even when they have a close button? (implementation based on https://react-spectrum.adobe.com/react-aria/useDialog.html)
Thanks in advance. :)
Beta Was this translation helpful? Give feedback.
All reactions