diff options
author | 2023-02-06 11:19:19 -0800 | |
---|---|---|
committer | 2023-02-06 13:19:19 -0600 | |
commit | 6147479abff6737f57539247203da907402b1140 (patch) | |
tree | 2f8a79262c34e687b831720fd6262038e87afb37 /examples/portfolio/src | |
parent | a717c5c76df130b511397de64400bede78e67786 (diff) | |
download | astro-6147479abff6737f57539247203da907402b1140.tar.gz astro-6147479abff6737f57539247203da907402b1140.tar.zst astro-6147479abff6737f57539247203da907402b1140.zip |
fix(portfolio): keyboard a11y for ThemeToggle (#6126)
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.
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r-- | examples/portfolio/src/components/ThemeToggle.astro | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/portfolio/src/components/ThemeToggle.astro b/examples/portfolio/src/components/ThemeToggle.astro index 288425510..d184e4eb3 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 { |