From ba0d4c397ea2ea9015f0e0e42330def3b93d06af Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 25 Oct 2026 21:55:24 +0800 Subject: [PATCH] fix: keep the hidden back-to-top button out of the tab order The hidden back-to-top button was only transparent, so Tab still stopped on it and its focus outline was invisible. Co-Authored-By: Claude --- website/static/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/static/style.css b/website/static/style.css index 59ffb190..3ea73f16 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -1269,14 +1269,18 @@ th[data-sort].sort-asc::after { letter-spacing: 0.03em; cursor: pointer; opacity: 0; + /* Keeps the hidden button out of the tab order; stays visible for the whole fade */ + visibility: hidden; pointer-events: none; transition: opacity 180ms ease, + visibility 180ms ease, color 180ms ease; } .back-to-top.visible { opacity: 1; + visibility: visible; pointer-events: auto; }