Re: Focus visible

Thanks patrick

I have a specific case where a button is visually inside an input (like a show password button). On focus, the button background turns white. The background of the page is also white so the only indication the button is focused is that some of the input border disappears behind the white button background (quite hard to describe). So the white background used as a focus indicator I would say passes use of colour (as the red border appears to turn to white where it overlaps), fails non text contrast by passes focus visible. Is that correct?

Thanks!

Sarah

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Ms J <ms.jflz.woop@gmail.com>
Sent: Tuesday, April 29, 2025 12:12:04 PM
To: w3c-wai-ig@w3.org <w3c-wai-ig@w3.org>
Subject: Focus visible

Hello

If a focus indicator fails non-text contrast, does it then automatically fail focus visible please?

I have a case where a border colour change is used to indicate focus. The difference from the original colour is greater than 3:1, so it passes use of colour as the difference in lightness is visible, but the new focus state colour now fails 3:1 against the background, so it fails non-text contrast. Does this fail focus visible?

Thanks

Sarah

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

Received on Tuesday, 29 April 2025 15:19:50 UTC