From 5a8c6912dcf9843a56585de199bd53bddc9313c6 Mon Sep 17 00:00:00 2001 From: lindsaym-fa Date: Thu, 14 Sep 2023 12:36:44 -0400 Subject: [PATCH] fix switch focus --- src/components/switch/switch.styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/switch/switch.styles.ts b/src/components/switch/switch.styles.ts index d70041e70..45d429062 100644 --- a/src/components/switch/switch.styles.ts +++ b/src/components/switch/switch.styles.ts @@ -77,7 +77,7 @@ export default css` } /* Focus */ - .switch:not(.switch--checked):not(.switch--disabled) .switch__input:focus-visible ~ .switch__control .switch__thumb { + .switch:not(.switch--disabled) .switch__input:focus-visible ~ .switch__control .switch__thumb { outline: var(--wa-focus-ring); outline-offset: var(--wa-focus-ring-offset); }