-
Notifications
You must be signed in to change notification settings - Fork 71
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 and context serve equivalent purpose" [fd3a94]: Definition of context is still not good enough #1879
Comments
Thanks Jym for opening the issue. I was thinking about my request, also comparing it with the existing passed and failed examples, and I made some broader considerations: Rule title: Links with identical accessible names and context serve equivalent purpose (reworded in "Links with identical accessible names and same context serve equivalent purpose" in #1864) Assuming applicability points are met, is it always an accessibility failure or more in general a usability one?
The inability to determine which is the link purpose that makes the 2.4.4 SC failing (assuming it's not ambiguous in general), here is not determined by the identical accessible name within the same context, but from the context itself. Should the title be something like "Links that serve equivalent purpose within the same context have identical accessible names"? That said, based on SC 2.4.4 and SC 3.2.4, I'm still not sure it's strictly an accessibility failure:
per 2.4.4 it's a best practice
per 3.2.4 it's a requirement but only in a set of pages (single page is not covered by 3.2.4) Conclusions: What are your thoughts? |
Summary from CG discussion:
|
Failures provided are ambiguous to users in general, in my opinion. Two links with identical accessible name and with the same programmatically determined context, but with different CSS backgrounds (that visually convey information) is the only example that comes to mind, assuming that our definition of context does not include visual properties not included within the accessibility tree. See attachment for more details: example.zip |
Been crunching some numbers on our data. Around one third of the pages we test are Applicable for this rule 🤔 |
From CG meeting: we need to update the definition of programmatically determined context |
WCAG's definition of "programmatically determined link context" seems to mention two new ideas:
ACT's definition of "programmatically determined link context" doesn't mention those two things. (Even though it says that it is "based on the WCAG definition", I take this to mean "loosely based"). If we changed the ACT definition to include sentences (like WCAG does), what would happen? |
What's more, WCAG has this sufficient technique for SC 2.4.4: G53: Identifying the purpose of a link using link text combined with the text of the enclosing sentence. G53 does not require semantic markup, only sentence punctuation. The discrepancy causes false positives in two ACT rules based on programmatically determined link context. |
As pointed in #1864 (comment),
This two links have the same name, the same programatically determined context, and different destination. Therefore they fail Links with identical accessible names and context serve equivalent purpose. But they probably don't fail 2.4.4 since the sentences make it clear where they go…
The text was updated successfully, but these errors were encountered: