-
Notifications
You must be signed in to change notification settings - Fork 764
-
Notifications
You must be signed in to change notification settings - Fork 764
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
link-name rule fails when it contains landmarks #1461
Comments
We've noticed this issue as well after upgrading to v3.2.2. Links which had previously passed are now getting flagged as violations. Are there any workarounds aside from excluding the element or rule from the audit? |
We've done a little more testing. Here are the results so far:
@straker can you do some more testing for this, complete this table? Tabbing to the link with JAWS does seem to cause problems, so that suggests there is at least some sort of issue here. I want to get a better sense of the problem before we decide whether or not we let axe fail this, warn about it, or let it pass. |
@drewlee What element are you using inside links that is causing this behaviour? I think the way to fix it is to not use that element. |
@WilcoFiers, that's much easier said than done. The contention seems to be around our usage of a definition list, but unordered/ordered lists are failing as well. From a semantic perspective, our usage is completely justifiable and makes more sense than a hierarchy of divs. I'd also like to point out that in accordance with the HTML5 specification, it is perfectly acceptable to encompass complex semantics within anchors: https://www.w3.org/TR/html52/textlevel-semantics.html#elementdef-a. To paraphrase: "the The specific JAWS+IE failure in the matrix above seems like a vendor deficiency. If a user interface is built in accordance to the specification, and a vendor fails to properly implement it, then it's rather heavy handed and overtly opinionated to flag this as a failure for the majority of use cases. I don't think this rule is very effective or useful if it's intent is to force all developers to limit anchor usage to simple text strings. |
As sad as this may seem to all the JAWS users out there, it is not required for meeting accessibility supported. |
Found the following example which seemed to fail axe-core:
As far as I can tell this link should and does not have an accessible name, but in a quick test with VO that doesn't seem to be a problem.
axe-core: 3.2.2
The text was updated successfully, but these errors were encountered: