Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility issue with Drawer #41

Open
paulGeoghegan opened this issue Jul 2, 2024 · 0 comments
Open

Accessibility issue with Drawer #41

paulGeoghegan opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working NVDA NVDA specific issues screenreader

Comments

@paulGeoghegan
Copy link

paulGeoghegan commented Jul 2, 2024

Describe the bug

A bug is a demonstrable problem caused by code in the library. Please provide a clear and concise description of what the bug is here.
Focus is not handled correctly for screen readers when you try to open the drawer as it just brings you to a part of the page that says dialog and you can't read what is in the drawer. You can just press enter again to properly open it but it is a bit confusing. I think adding the autofocus attribute would probably fix this issue. It should probably be on the close button at the top or the header if there is one.
This bug also applies to other components that use the dialog element.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://backers.webawesome.com/docs/components/drawer,
  2. Navigate to an example of a drawer,
  3. Try to open the drawer while using a screen reader like NVDA,
  4. Focus is moved to the incorrect position.

Browser / OS

  • OS: Windows
  • Browser: Firefox
  • Browser version: 127.0.2
  • Screen Reader: NVDA
@paulGeoghegan paulGeoghegan added the bug Something isn't working label Jul 2, 2024
@claviska claviska added screenreader NVDA NVDA specific issues labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NVDA NVDA specific issues screenreader
Projects
None yet
Development

No branches or pull requests

2 participants