Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When does NVDA announce an element as clickable? #5830

Closed
jmuheim opened this issue Mar 22, 2016 · 4 comments
Closed

When does NVDA announce an element as clickable? #5830

jmuheim opened this issue Mar 22, 2016 · 4 comments

Comments

@jmuheim
Copy link

jmuheim commented Mar 22, 2016

I found out that NVDA sometimes announces an element as clickable, and sometimes it doesn't.

I have written a comprehensive thread about this on StackOverflow, it would be great to hear the opinion of you NVDA guys, too!

http://stackoverflow.com/questions/36151647/are-there-ways-to-react-upon-a-click-without-adding-an-event

@jcsteh
Copy link
Contributor

jcsteh commented Mar 22, 2016

  1. NVDA will consider reporting clickable if the node has click, mouseDown or mouseUp event handlers.
  2. However, if the element is inherently clickable or it just isn't useful to report clickable for that element, it won't be reported. Currently, this means that it isn't reported for the following control types: ROLE_LINK, ROLE_BUTTON, ROLE_CHECKBOX, ROLE_RADIOBUTTON, ROLE_TOGGLEBUTTON, ROLE_MENUITEM, ROLE_TAB, ROLE_SLIDER, ROLE_DOCUMENT, ROLE_CHECKMENUITEM, ROLE_RADIOMENUITEM

For future reference, please note that this is not the correct place for a question like this. At this stage, the issue tracker is only for reporting bugs or feature requests, rather than asking questions. Technical questions like this belong on the nvda-devel email list. Thanks.

@jcsteh jcsteh closed this as completed Mar 22, 2016
@hulmerous
Copy link

What does "clickable" exactly mean. "Clicking" won't lead them anywhere. Is it referring to the fact that you can select and copy/paste the text?

Why does it repeat 'clickable' 8 times in some situations?

@Brian1Gaff
Copy link

Brian1Gaff commented Apr 11, 2018 via email

@bradjcoughlin
Copy link

@Brian1Gaff I realize this is an old thread, but I've found that sometimes excess 'clickable' announcements are caused by event listeners that are targeting too many elements on the page. For example, jQuery makes it easy to target all elements using the star selector $('*') and .on('click', function( // do something or nothing )); which indicates to NVDA it is clickable, even if nothing happens or if the targeted element is "filtered out" by logic in the listener function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants