Skip to content

Commit

Permalink
focus state for screenreader
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush013 committed Jun 19, 2022
1 parent b39104b commit 28691e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion switch/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}


.switch:hover {
.switch:hover, .switch:focus-within {
box-shadow: 0 0 5px var(--active);
outline-color: var(--active);
}
Expand Down

0 comments on commit 28691e7

Please sign in to comment.