From 6147479abff6737f57539247203da907402b1140 Mon Sep 17 00:00:00 2001 From: Marcy Sutton-Todd Date: Mon, 6 Feb 2023 11:19:19 -0800 Subject: [PATCH] fix(portfolio): keyboard a11y for ThemeToggle (#6126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hiding outline “except for Windows High Contrast Mode” makes this component inaccessible to all keyboard users. Removing this declaration allows the default focus outline to show. --- examples/portfolio/src/components/ThemeToggle.astro | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/portfolio/src/components/ThemeToggle.astro b/examples/portfolio/src/components/ThemeToggle.astro index 2884255104bc..d184e4eb318f 100644 --- a/examples/portfolio/src/components/ThemeToggle.astro +++ b/examples/portfolio/src/components/ThemeToggle.astro @@ -19,8 +19,6 @@ import Icon from './Icon.astro'; background-color: var(--gray-999); box-shadow: inset 0 0 0 1px var(--accent-overlay); cursor: pointer; - /* Outline visible only to high contrast users */ - outline: 1px solid transparent; } .icon {