- From: bryan rasmussen <rasmussen.bryan@gmail.com>
- Date: Thu, 13 Jul 2023 13:40:50 +0200
- To: Ms J <ms.jflz.woop@gmail.com>
- Cc: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Received on Thursday, 13 July 2023 11:41:06 UTC
Yes, the background is important as to whether or not the color has enough contrast, contrast is related to both the color and background it is on. On Thu, Jul 13, 2023 at 1:29 PM Ms J <ms.jflz.woop@gmail.com> wrote: > 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:41:06 UTC