Skip to content

Commit

Permalink
fix(all): improve a11y for checkbox (#26994)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamleithp authored Dec 19, 2024
1 parent efb4063 commit 43defa9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
font-weight: 500;
line-height: 1.5rem;

&:has(:focus-visible) {
.LemonCheckbox__box {
outline: -webkit-focus-ring-color auto 1px;
}
}

.LemonCheckbox__input {
width: 0 !important;
height: 0 !important;
Expand Down

0 comments on commit 43defa9

Please sign in to comment.