summaryrefslogtreecommitdiff
path: root/web/src
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-23 14:23:02 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-23 14:23:02 +0100
commitc794f991d244ff8fe63307e6f33e181afd86196b (patch)
tree3ab680b43871b0a4afa80469338fb32cae73cf6f /web/src
parent33faad1358ad056f0f5645705a9fe352a12dc462 (diff)
web: drop redundant role/tabindex from the loot discard grid buttons
Native <button> elements already expose the button role and are focusable, so the explicit role="button" and tabindex="0" are redundant.
Diffstat (limited to 'web/src')
-rw-r--r--web/src/lib/ui/decks/LootCardsMenu.svelte2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/src/lib/ui/decks/LootCardsMenu.svelte b/web/src/lib/ui/decks/LootCardsMenu.svelte
index ae7c444..a3b9011 100644
--- a/web/src/lib/ui/decks/LootCardsMenu.svelte
+++ b/web/src/lib/ui/decks/LootCardsMenu.svelte
@@ -242,8 +242,6 @@
<button
class="grid__cell"
onclick={() => (sub = { kind: 'owner', card })}
- role="button"
- tabindex="0"
aria-label="loot card {card.id}"
>
<LootCard