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

Trap screen reader focus #2

Open
steveszc opened this issue Mar 19, 2018 · 2 comments
Open

Trap screen reader focus #2

steveszc opened this issue Mar 19, 2018 · 2 comments

Comments

@steveszc
Copy link
Owner

Currently focus-trapper only traps keyboard and mouse focus, but it may not actually trap focus for some screen readers. Some research is needed to figure out the best way to trap screen reader focus.

Some ideas to explore:

  • html's new inert attribute
  • make everything else in the DOM aria-hidden="true"
  • make everything else in the dom tab-index=-1
  • ... other ideas??
@MelSumner
Copy link

@MelSumner
Copy link

@steveszc looking at this issue again- there are different types of focus, visible focus and screen-reader focus (for browse mode). We definitely should never try to control screen-reader focus. I have a writeup about it but we can chat more on Discord if you would find it useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants