Comment 2 by vtsaran on 2009-11-13 04:16
Is there a hope for this to be fixed before the final release of NVDA? I think, it would be great to sort out ALT attributes issue considering that NVDA is used as a testing tool by many.
Comment 3 by jteh on 2009-11-13 04:19
I'm afraid this won't make it into 2009.1. However, we should definitely try to get it into the next release, which hopefully won't be anywhere near as long in coming as this one. :)
Milestone changed from None to 2009.2
Comment 7 by vtsaran on 2010-02-11 21:24
Has this really been fixed? I just wwent to Yahoo! Search results page and looked under the "search refiners" section. The extraneous information is still spoken on graphics.
Can you please elaborate on what exactly was fixed?
Comment 8 by jteh on 2010-02-11 22:35
Damn it. :) NVDA was fixed so that it doesn't read the graphic URL if there is content inside the link other than the graphic. We still want to render it if there is no content because otherwise, it'd be impossible to activate links that have only a graphic with alt="" (bad authoring).
Unfortunately, it looks like this is exactly what Yahoo! Search does. There is no content inside the link other than the graphic. Unfortunately, the graphic is also inside a "paragraph" node, which means that our code for detecting this case doesn't pick it up (it looks for a graphic which is an immediate child of the link). I'm guessing the link is using aria-label or some such. We don't tend to rely on just the accName because this wouldn't allow us to use the URL for graphics which have no labels.
Comment 9 by jteh (in reply to comment 8) on 2010-02-11 23:21
Replying to jteh:
Unfortunately, it looks like this is exactly what Yahoo! Search does. There is no content inside the link other than the graphic.
Wrong. I appear to be braindead. There is text content; that is how the label of the link is being derived. I think the problem is the paragraph node containing the graphic. Our code queries whether the link has a name; it doesn't account for graphics being grandchildren of the link.
Comment 10 by jteh on 2010-02-22 02:31
Btw, Vic, to clarify, the test case you provided in the ticket description has been fixed. As noted, Yahoo! does something a bit different (the graphic is a grandchild of the link instead of a child) which is not covered by this fix.
Comment 12 by jteh on 2010-02-24 21:17
Note that I'm working on a fix for NVDA. I already have it working for IE, but getting it working for Gecko is going to be a bit harder due to it being older code. I can't promise it'll be in 2010.1.