JAWS reads non-interactive elements as Clickable
See original GitHub issueDo you want to request a feature or report a bug? Bug
What is the current behavior?
- I create an app using create-react-app
- I use JAWS Professional Edition Version 2018 (build 1710.42 ILM) and Internet Explorer 11 on Windows 7
- I use arrow keys to navigate to paragraph “Edit src/App.js and save to reload.”
- Jaws announces “Edit src/App.js and save to reload. clickable”
What is the expected behavior? This paragraph is non interactive, it should not be announced as clickable.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
- JAWS Professional Edition Version 2018 (build 1710.42 ILM)
- Internet Explorer 11
- Windows 7
- create-react-app 2.0.3
suspected cause
Using Chrome Event Listener Breakpoints I observed there’s a function called trapClickOnNonInteractiveElement which is the onclick handler for non interactive elements. This noop function is causing JAWS to think this is an interactive element
possible solution In trapClickOnNonInteractiveElement there is a comment which reads
// TODO: Only do this for the relevant Safaris maybe?
I think that this would fix this issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Placing non-interactive content between form controls - ADG
Screen reader users generally interact with form controls using focus mode, meaning they navigate back and forth only between interactive (which are focusable) ......
Read more >JAWS reads Headings as clickable even though parent div ...
Short Answer. Remove the tabindex . Long Answer. Headings should not have a tabindex (other than maybe a tabindex="-1" , covered below).
Read more >Configure JAWS screen reader for Unified Service Desk
One of the ways to enable JAWS screen reader to read the non-focusable controls is to wrap the non-focusable control using the UserControl ......
Read more >Stop Giving Control Hints to Screen Readers - Adrian Roselli
When a screen reader encounters an element on the page that invites ... <button aria-label=" Click button to mark">[icon]</button> ...
Read more >Cheat Sheet - Screen Reader Commands for JAWS, NVDA
Keystrokes to read content: ; Go to Previous Visited Link, Shift + V · Shift + V ; Open the Links list dialog...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is a tricky problem… it is usually caused by click handlers. JAWS (and NVDA) announce “clickable” when an element or one of its ancestors has a click event handler.
For example, “clickable” is announced each time a JAWS user presses down arrow to read the p lines in the following div:
<div onclick=""> <p>The quick brown fox</p> <p>jumps over the lazy dog.</p> </div>@Lily418 The problem with relying on the user agent is that webviews can overwrite them (I think) which would break our feature test and onClick events in React 😕 Check out #12989 for more context.