E-mail List Archives
Re: why is everything "clickable" in NVDA
From: Jonathan C. Cohn
Date: May 26, 2017 5:02AM
- Next message: Joy Relton: "Re: why is everything "clickable" in NVDA"
- Previous message: Patrick H. Lauke: "Re: why is everything "clickable" in NVDA"
- Next message in Thread: Joy Relton: "Re: why is everything "clickable" in NVDA"
- Previous message in Thread: Patrick H. Lauke: "Re: why is everything "clickable" in NVDA"
- View all messages in this Thread
Oh, and I believe NBDA has an open bug on this. One just needs to find an appropriate heuristic for when to announce.
Best wishes,
Jonathan Cohn
> On May 26, 2017, at 5:06 AM, Patrick H. Lauke < <EMAIL REMOVED> > wrote:
>
>> 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
> > > >
- Next message: Joy Relton: "Re: why is everything "clickable" in NVDA"
- Previous message: Patrick H. Lauke: "Re: why is everything "clickable" in NVDA"
- Next message in Thread: Joy Relton: "Re: why is everything "clickable" in NVDA"
- Previous message in Thread: Patrick H. Lauke: "Re: why is everything "clickable" in NVDA"
- View all messages in this Thread