Skip to content
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

Discrepancy between F73 and G183 #1272

Closed
WilcoFiers opened this issue Aug 10, 2020 · 5 comments · Fixed by #1553
Closed

Discrepancy between F73 and G183 #1272

WilcoFiers opened this issue Aug 10, 2020 · 5 comments · Fixed by #1553

Comments

@WilcoFiers
Copy link
Contributor

G183 says links in text pass if they have a contrast of 3:1 or more to the surrounding text, and a distinct hover and focus style.

F73 says links in text fail if they have a contrast of less than 3:1 with it surrounding text.

Notice that F73 says nothing about whether or not a hover / focus style is required. This creates a gap. On the one hand you could argue that just because F73 doesn't mention it, doesn't mean it passes. Alternatively you could argue that because G183 is a sufficient technique that just because you didn't do everything it says, doesn't mean you've failed the SC.

It isn't clear which way to go, because even suggesting that 1.4.1 can be passed with color contrast (with or without hover/focus) is not based on any normative language (as Patrick pointed out here). Guy's suggestion in #1118 to delete G183 would address this issue, but if we're not deleting it, at least we should align these two SCs.

@StommePoes
Copy link

Is this a dupe issue? I thought @yatil brought this up somewhere? I remember a long discussion here on GH.

@detlevhfischer
Copy link
Contributor

F73 seems to miss cases of links that are not distinct from surrounding text at all (as these may be considered to fall into the 'general usability issue' bucket). Some such links will indicate focus when tabbed to (and/or hovered over). So according to F73 a link with less than 3:1 contrast to surrounding text would fail while the (arguably worse) lack of any colour difference would pass.

This may be one of the use cases for a future affordance SC that was considered but did not get sufficient traction so far (seemed difficult to pin down). Another case would be a similar gap regarding the visibility of controls like text inputs where the contrast requirement form 1.4.11 does not apply due to the lack of any physical trace in the unfocused state (sometimes used for pop-up search fields that will show focus after being called up and thereby - minimally - meet 2.4.7 Focus Visible) - compare Issue #680

I would not mind getting rid of G183 since it seems to support a design pattern that is not best practice.

@alastc
Copy link
Contributor

alastc commented Dec 3, 2020

PR #1553 should resolve this, if agreed next week.

@alastc
Copy link
Contributor

alastc commented Dec 30, 2020

Still discussing #1553, but note that techniques can use a higher bar than the SC text there isn't actually a discrepancy, G183 is just asking for an extra indicator.

@alastc
Copy link
Contributor

alastc commented Jan 6, 2021

Hi everyone,

The group met and discussed this technique today, the agreed response was:


The working group considered this issue and applied some updates in PRs #1500 and #1553 to clarify what passes the success criteria and what is needed for the technique.

I'll also add (myself) that, whilst everyone recognises that there are some very poor possibilities with links, this was a technique that overcame objections against 1.4.1 in WCAG 2.0. The concept of using contrast as an additional indicator is also necessary for non-text colour contrast.

As sufficient techniques can go beyond the SC text there isn't a discrepancy as such, the bottom line is that you can pass the SC with contrast as the additional indicator, which has been clarified in the understanding doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants