Skip to content

Is Modal focus trap too restrictive? #6372

Answered by devongovett
lucsky asked this question in Q&A
Discussion options

You must be logged in to vote

There is some debate about this within the accessibility community. For example, see this thread on ARIA Practices: w3c/aria-practices#1772. I think the general consensus there is that allowing tab to cycle out of the modal into the browser chrome is confusing and potentially frustrating for users because they need to tab through every button and other element in the toolbar (which could be a lot, e.g. bookmarks) to get back to the start of the modal. In addition, allowing users to tab to the browser chrome, but not tab out of iframes to other content on the page is pretty much impossible to implement. We generally think modals should be modal no matter their context, and for those reason…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lucsky
Comment options

Answer selected by lucsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants