From b19ca89f44c3d4e9cd264332226685f98e827632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 27 Nov 2023 00:11:07 +0100 Subject: [PATCH] a11y: show tab focus on images #730 --- static/css/theme.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/css/theme.css b/static/css/theme.css index 3a0628a916..92265bf7ea 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -413,6 +413,11 @@ article a:focus .copy-to-clipboard { outline: none; text-decoration: underline; } +article a:hover:has(img), +article a:active:has(img), +article a:focus:has(img){ + outline: auto; +} #R-body-inner:focus-visible{ /* remove focus indicator for programatically set focus */