Keydown functions and screen readers
I have a script whereby if a user is focused on an element and presses the down arrow key, it expands/collapses a section. Works in all browsers I’ve tested without a screen reader, and it works on Safari with VoiceOver on. But as soon as you turn JAWS or NVDA on it stops working. Here’s the script:
A really tough question regarding keydown functions and screen readers
I have a script whereby if a user is focused on an element and presses the down arrow key, it expands/collapses a section. Works in all browsers I’ve tested without a screen reader, and it works on Safari with VoiceOver on. But as soon as you turn JAWS or NVDA on it stops working. Here’s the script: