diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-11-23 14:23:02 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-11-23 14:23:02 +0100 |
| commit | c794f991d244ff8fe63307e6f33e181afd86196b (patch) | |
| tree | 3ab680b43871b0a4afa80469338fb32cae73cf6f | |
| parent | 33faad1358ad056f0f5645705a9fe352a12dc462 (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.
| -rw-r--r-- | web/src/lib/ui/decks/LootCardsMenu.svelte | 2 |
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 |
