Use of colour

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>

Received on Thursday, 13 July 2023 11:27:41 UTC