Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upLink destination anchors should not be treated as links #47
Comments
This comment has been minimized.
This comment has been minimized.
|
Comment 1 by benjaminhawkeslewis on 2008-03-19 07:16 I'm not 100% clear what this suggestion entails. It might prove problematic if anchor elements are not announced at all, since even if an anchor has no HREF it might still have behaviour attached with scripting. |
This comment has been minimized.
This comment has been minimized.
|
Comment 2 by jteh (in reply to comment 1) on 2008-03-19 13:03
True, but this is also true for spans, divs, etc. Basically, we will treat anchors without an HREF attribute as if they were spans. Clickables are currently not announced, but once they are, this will work for named anchors as well with no additional change. |
This comment has been minimized.
This comment has been minimized.
|
Comment 3 by jteh on 2008-03-20 02:38 |
This comment has been minimized.
This comment has been minimized.
|
Comment 4 by jteh on 2008-03-26 08:52 |
Reported by jteh on 2008-03-18 22:39
In HTML, there are two uses for the tag:
When there is no HREF attribute, the element is not a link (i.e. it does not jump to another destination).
Unfortunately, Firefox exposes A elements without an HREF attribute as links to accessibility APIs. Imho, this is a bug in Firefox; see MozillaBug:423603. However, this has been done for a long time and IE apparently does it as well, so fixing the issue in Firefox may cause breakage. Thus, the change needs to be made in the NVDA gecko_ia2 backend.
Two methods can be used to determine whether there is no HREF attribute:
Either of these methods can be used. If no HREF is detected, the backend should ignore the link object (but still render everything below).