Open kaukeshav opened 1 month ago
With JAWS enabled button tag keydown event listener isn't working with "Enter" and "Space" keys.
Reproduce with the following steps:
Go to https://codepen.io/Keshav-Kaushik/pen/eYoqVOE Use tab keys to reach "Keydown Button" with JAWS enabled Now, either press "Space" or "Enter" key. Check if the console prints keydown event or not. Follow the same for click button.
Code pen link below to test both "onclick" and "onkeydown" event listeners with and without JAWS enabled.
https://codepen.io/Keshav-Kaushik/pen/eYoqVOE
JAWS 2023
Chrome
By default, JAWS converts key events into click events. If device-independent event handlers are used, there are no problems. The conversion of events can be deactivated in the JAWS settings.
Summary
With JAWS enabled button tag keydown event listener isn't working with "Enter" and "Space" keys.
Reproduce with the following steps:
Expected result
Actual result
Example
Code pen link below to test both "onclick" and "onkeydown" event listeners with and without JAWS enabled.
JAWS version and build number
JAWS 2023
Browser and version:
Chrome