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

Too Many Arrow Key Events Generated with ARIA role=application in JAWS #887

Open
jessegreenberg opened this issue Jan 30, 2025 · 0 comments

Comments

@jessegreenberg
Copy link

When interacting with elements that have the ARIA role="application", JAWS sends multiple unnecessary keyboard events when arrow keys are pressed and held. This behavior disrupts interactions that rely on precise keyboard event handling.

Steps to Reproduce:

  1. Use the following HTML and JavaScript code to set up the test environment:

HTML:

<div role="application">
  <div tabindex="0" id="interactive">Focus me, then press and hold arrow keys</div>
</div>
const interactive = document.getElementById("interactive");
interactive.addEventListener("keydown", event => console.log('keydown received'));
interactive.addEventListener("keyup", event => console.log('keyup received'));
  1. Move focus to the element with id="interactive".

  2. Press and hold any arrow key.

Expected Behavior: Several "keydown received" messages should be logged continuously while the key is held down. A single "keyup received" message should be logged when the key is released.

Actual Behavior: A continuous stream of both "keydown received" and "keyup received" messages appear while the key remains pressed.

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

1 participant