appearance: none has accessibility problems

This commit is contained in:
rhiannon morris 2024-07-07 22:01:05 +02:00
parent 411c93e860
commit d93e38b618

View file

@ -46,7 +46,14 @@
} }
.filterlist input { .filterlist input {
appearance: none; /* i can't believe it's not appearance: none */
clip: rect(0 0 0 0);
clip-path: inset(100%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
} }
.filterlist li:not([hidden]) { .filterlist li:not([hidden]) {