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
"Links with identical accessible names rules" should check link text and not accessible name #1378
Comments
As discussed in w3c/wcag#1202 (comment) the normative text of 2.4.4 and 2.4.9 is problematic since "link text" conflates the accessible name and visible label The examples in the WCAG understanding document mix these up:
These folks are most likely using vision to read the visible label
The folks are most likely using vision to read the visible label, though they may be using simplified styles (e.g. reader view)
These folks may be using a screen reader and hearing the accessible name, or may be using a screen magnifier and seeing the visible label. |
I know this was discussed extensively by the people who worked on it, and they all came to the conclusion. This is not a mistake in a the rule, but a disagreement about the correct interpretation of it. I'll leave this open so we can have the conversation, but I think we're not going to get an answer to this until we have more implementors speaking out either for, or against the interpretation in this rule. |
Talked about this on the CG call today. Most folks were in agreement that this does need to check the accessible name. I think the strongest argument in favour of this is technique ARIA8:
This suggests that the SC could be satisfied by providing the necessary information to the accessible name. I agree that "link text" is ambiguous, and could be taken to mean either the label, or the accessible name, but I think the techniques written for this rule, especially the ARIA techniques suggest this the correct reading is to treat "link text" to mean "accessible name". If those ARIA techniques were to change, I think we can revisit this. For now I'm going to close the issue. |
The normative text in both SC 2.4.4 and 2.4.9 applies to the "link text" but the rules use the accessible name.
This makes a difference in the following example:
See discussion on
w3c/wcag#1202
The text was updated successfully, but these errors were encountered: