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

Enter key doesn't trigger a key-event on a button #4903

Closed
nvaccessAuto opened this issue Feb 10, 2015 · 2 comments
Closed

Enter key doesn't trigger a key-event on a button #4903

nvaccessAuto opened this issue Feb 10, 2015 · 2 comments

Comments

@nvaccessAuto
Copy link

Reported by kent78 on 2015-02-10 10:29
I´m using Firefox (version 35.0.1) on Windows 7 Enterprise.

In the below jsfiddle example, when I navigate to the button (using the tab key) and then hitting the Enter key, three separate events is triggered (keypress, keydown and keyup) and a message is written to the console for each of them:

https://jsfiddle.net/kent78/apcjh8uc/

But if I have NVDA running there is no key event triggered at all.

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2015-02-10 10:57
Many elements in the wild on the web don't support key events; some of them aren't even focusable. Therefore, when in browse mode, the enter key is overridden to activate the control using mouse clicks. Using keys alone just isn't an option, as it would break far too many cases in the wild.

Note that if you're in focus mode, keys are passed unencumbered.
Changes:
Added labels: cantfix
State: closed

@nvaccessAuto
Copy link
Author

Comment 2 by kent78 on 2015-02-13 09:29
Thanks for clearing that out. :)

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

1 participant