From d93e38b61839cd0a13343a73b4ec53ead40398ab Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Sun, 7 Jul 2024 22:01:05 +0200 Subject: [PATCH] appearance: none has accessibility problems --- style/shiny/gallery.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/style/shiny/gallery.css b/style/shiny/gallery.css index 9349162..f98fcbb 100644 --- a/style/shiny/gallery.css +++ b/style/shiny/gallery.css @@ -46,7 +46,14 @@ } .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]) {