E-mail List Archives

Re: why is everything "clickable" in NVDA

for

From: Angela French
Date: May 26, 2017 9:58AM


Thanks for all the helpful replies. The first element in our create account form is "username". Upon exit from that element we run a check to see if that username is available. There is javascript involved in this functionality and that is what is causing the clickable . Not sure what we can do about that, but at least I know how to turn off the reading of it when I listed.

Angela French
SBCTC.edu



-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Patrick H. Lauke
Sent: Friday, May 26, 2017 2:06 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] why is everything "clickable" in NVDA

On 26/05/2017 09:45, Tim Harshbarger wrote:
> Yes, if NVDA reports everything as clickable, it is most likely because there is a click event associated with the body element.

To expand a bit on this, that's most commonly found in certain JavaScript frameworks that use what's called "event delegation": instead of attaching lots of separate click handlers throughout the page, these frameworks rely on clicks bubbling up to the the body, and then disambiguate there which element was actually clicked ... so you have a single click handler that deals with every interaction on the page, rather than a myriad of tiny click handlers everywhere.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke