We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This came up when discussing synthesizing an event from AT to represent Activation in #166.
If you have an HTML button with focus then some keypresses (Enter, Space) will synthesize a Click event in addition to the keyboard event.
The text was updated successfully, but these errors were encountered:
Some existing elements and their behavior
<input type=’button’></input>
<div role=’button’></div>
<div></div>
<a href=’...’></a>
Sorry, something went wrong.
Related links:
Non-click activation behaviours must, by default, fire a Click event. https://html.spec.whatwg.org/multipage/interaction.html#activation
The activation triggers for <a> elements are Click and Enter. https://w3c.github.io/uievents/#event-flow-activation
<a>
Space and Enter dispatch a Click event when a state-changing element has focus. https://w3c.github.io/uievents/#event-type-keydown
WHATWG bug “Need a consistent set of events that defines user activation” whatwg/html#3849
No branches or pull requests
This came up when discussing synthesizing an event from AT to represent Activation in #166.
If you have an HTML button with focus then some keypresses (Enter, Space) will synthesize a Click event in addition to the keyboard event.
The text was updated successfully, but these errors were encountered: