From fea1fc288bffaef2077ffd7c7fa69f048c75700c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 14 Oct 2023 10:20:14 +1000 Subject: [PATCH] Keep badge out of natural tab order If I've understood things correctly, this should allow regular users to skip over the badge elements with Tab, while still allowing screen reader apps to read/focus the badge elements. https://github.com/ankitects/anki/pull/2721#issuecomment-1761740985 https://forums.ankiweb.net/t/anki-23-10-beta-5/35677/18 --- ts/components/Badge.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/components/Badge.svelte b/ts/components/Badge.svelte index 8514da27f..e5a015864 100644 --- a/ts/components/Badge.svelte +++ b/ts/components/Badge.svelte @@ -31,6 +31,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html on:click on:mouseenter on:mouseleave + tabindex="-1" >