When you’re scripting for a screen reader, then you’re scripting for the browser, with exactly the same level of JavaScript support.
However complications can arise with event handling, because screen readers intercept events and don't always pass them on to the browser, and even then, keyboard actions might fire mouse events.
tpgi.com/event-handling-in-jaw…
#accessibility #a11y #javascript
Event handling in JAWS and NVDA - TPGi
Complications can arise with JavaScript event handling in screen readers, because the virtual cursor intercepts or modifies page events.James Edwards (TPGi)