Re: Use of colour

Ah ok, if the example is wrong that explains it! Thank you Patrick!

Sarah

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Ms J <ms.jflz.woop@gmail.com>
Sent: Thursday, July 13, 2023 4:09:07 PM
To: Marc Haunschild <haunschild@mhis.onmicrosoft.de>
Cc: w3c-wai-ig@w3.org <w3c-wai-ig@w3.org>
Subject: Re: Use of colour

Maybe the reason everyone seems to be confused by what I'm saying is because I'm talking about comparing text with a background so they're assuming I'm talking about the contrast of the text with the background. I'm not talking about the contrast of the text with the background. I'm talking about the change in lightness between the text in focused and unfocused states and whether the lightness of the text can just be measured by comparing black and white or whether the background impacts the lightness of the text

ie, if the lightness measurement we use (which is a change in hue greater than 3:1) is relative to a constant background. Or maybe the background has absolutely nothing to do with the lightness and it is always fixed. But I wanted to check seeing as that example seemed to imply instances where the text colour change was not sufficient.

But, it's fine because from Patricks response I take it that you can compare the text colour change and the background colour change as two independent checks.

Thanks all

Sarah

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Ms J <ms.jflz.woop@gmail.com>
Sent: Thursday, July 13, 2023 3:57:17 PM
To: Marc Haunschild <haunschild@mhis.onmicrosoft.de>
Cc: w3c-wai-ig@w3.org <w3c-wai-ig@w3.org>
Subject: Re: Use of colour

Yes...

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Marc Haunschild <haunschild@mhis.onmicrosoft.de>
Sent: Thursday, July 13, 2023 3:36 pm
To: Ms J <ms.jflz.woop@gmail.com>
Cc: w3c-wai-ig@w3.org <w3c-wai-ig@w3.org>
Subject: Re: Use of colour

Use of color and minimum contrast are two different SCs. You have to meet both to be compliant. ;-)

--
Mit freundlichen Grüßen

Marc Haunschild
https://Accessibility.Consulting


Am 13.07.2023 um 13:29 schrieb Ms J <ms.jflz.woop@gmail.com>:


Hello

Please can someone advise on use of colour.

I understand a change in hue of at least 3:1 contrast should indicate a sufficient change in lightness.

However, is this dependent on the background colour staying constant? For example, if a focus indicator is a change in text colour from black to white, does that pass use of colour? The example in the screenshot I have attached says it does not pass (from the non-text contrast guideline). The change in text colour if you measure directly, white to black, does exceed 3:1. I would have thought this passed?

Does it matter that the buttons background colour also changes? Does this break the ability to compare the lightness by just comparing the colour contrast ratio and checking it exceeds 3:1?

Thanks

Sarah

Sent from Outlook for iOS<https://aka.ms/o0ukef>
<Image.jpeg>

Received on Thursday, 13 July 2023 15:10:26 UTC