From ce9c4ee59ce7ca58885b3f1a7dd43c64c23f7125 Mon Sep 17 00:00:00 2001 From: Jacob Berglund Date: Thu, 12 Dec 2024 12:51:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Change=20focus=20styles=20to=20u?= =?UTF-8?q?se=20:focus-visible=20for=20checkboxes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/forms/checkbox/checkbox.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/forms/checkbox/checkbox.module.css b/src/components/forms/checkbox/checkbox.module.css index 5d48a6f12..b6bdf6a52 100644 --- a/src/components/forms/checkbox/checkbox.module.css +++ b/src/components/forms/checkbox/checkbox.module.css @@ -55,7 +55,7 @@ } /* Focus Styles */ -.input:focus + .checkbox { +.input:focus-visible + .checkbox { outline: 2px solid var(--stroke-primary); outline-offset: 2px; }