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

moved event.preventDefault() inside of if-then structure #1760

Closed
wants to merge 1 commit into from
Closed

moved event.preventDefault() inside of if-then structure #1760

wants to merge 1 commit into from

Conversation

gdkraus
Copy link

@gdkraus gdkraus commented Dec 19, 2014

(resubmit)
I moved the event.preventDefault to inside the if-then structure, so that other key commands will still work. It is necessary for the Tab key to get passed to the browser so a keyboard-only user can navigate through this UI element. If the Tab key is prevented, a keyboard-only user has no way of leaving the UI element once they are in it. See also #1758

@heff
Copy link
Member

heff commented Dec 19, 2014

Great, thanks!

@heff
Copy link
Member

heff commented Dec 19, 2014

Fixed and out in v4.11.3. Thanks!
16d945c

@heff heff closed this Dec 19, 2014
@gdkraus gdkraus deleted the hotfix/keyboard-trap-caption-button branch January 9, 2015 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants