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

Background elements of Dialog/Drawer should be unfocus-able and hidden. Headers in background should not show up in screenreader heaver navigation #6756

Open
faye-tan opened this issue Apr 4, 2024 · 0 comments

Comments

@faye-tan
Copy link

faye-tan commented Apr 4, 2024

Environment

  • Package version(s): 5.8.2
  • Browser and OS versions: Edge, Chrome, MacOS Sonoma 14.4

Feature request

When a Dialog or Drawer is open, the background elements should be un-focusable and hidden. This is backed up by this source and this source. Otherwise, the screenreader cursor could focus on something behind the Dialog/Drawer.

Examples

Currently when navigating by headings (CTRL+OPT+U on Mac) using a screenreader, currently when a Dialog or Drawer is open, the headers in the content underneath the overlay are also included in header navigation, which is unexpected.

@faye-tan faye-tan changed the title Apply aria-hidden to Background elements of Dialog/Drawer should be unfocus-able and hidden. Headers in background should not show up in screenreader heaver navigation Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants