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

NVDA does not allow activating links that embed off-screen text in Firefox #801

Closed
nvaccessAuto opened this issue Aug 2, 2010 · 5 comments

Comments

@nvaccessAuto
Copy link

Reported by vtsaran on 2010-08-02 00:42
With the following code in place (extracted from http://finance.yahoo.com/news)

Collapse this category

where the text inside the tag is positioned off-screen and is shown when the link gains keyboard focus, NVDA does not allow activating such a link with an ENTER or a SPACE bar key.
Interestingly enough, performing an accDoDefaultAction by pressing NVDA+NUM_ENTER activates the link fine.
This is tested with Firefox 3.6.8. The same code works great in IE8.

To repro:

  1. Open http://finance.yahoo.com/news.
  2. Pick an H3 heading called "Investing Ideas & Strategies" as an example.
    The link in question is the "close category" link.
@nvaccessAuto
Copy link
Author

Comment 2 by jteh on 2010-08-02 00:55
The problem here is that we try to activate the deepest node for greatest accuracy and correct handling of clickables, which in this case is the span. In Firefox, unless the node is actually clickable, we can't click it programmatically, so we have to move the mouse cursor to it and click. Unfortunately, this doesn't work at all for off-screen nodes. I need to think on a solution for this.

Out of interest, why is there an off-screen span in that link at all? The title attribute should be enough to provide suitable text for the link. This is a case we might see elsewhere in the wild, so we should fix it, but it seems like strange authoring to have an on-screen link with off-screen embedded text.

@nvaccessAuto
Copy link
Author

Comment 3 by vtsaran (in reply to comment 2) on 2010-08-02 01:08
Replying to jteh:

Out of interest, why is there an off-screen span in that link at all? The title attribute should be enough to provide suitable text for the link. This is a case we might see elsewhere in the wild, so we should fix it, but it seems like strange authoring to have an on-screen link with off-screen embedded text.

I believe if the inner text was left empty, NVDA would not read the TITLE at all, unless queried with an NVDA+TAB key.
Also, the reason there is an off-screen text node is because the "close" symbol is indicated by a background image and ultimately does not require an onscreen text.

@nvaccessAuto
Copy link
Author

Comment 4 by jteh on 2011-02-22 23:53
I forgot about this and filed duplicate #978. See #978 for a test case and more technical detail.
Changes:
Milestone changed from None to near-term

@nvaccessAuto
Copy link
Author

Comment 5 by mdcurran on 2011-05-31 00:26
Fixed in 3b8bb2a.
Changes:
State: closed

@nvaccessAuto
Copy link
Author

Comment 6 by jteh on 2011-05-31 00:54
Changes:
Milestone changed from near-term to 2011.2

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

No branches or pull requests

1 participant