This commit is contained in:
Till JS 2026-04-10 23:04:39 +02:00
parent a47a7bfdba
commit 82f58e44fa
5 changed files with 7 additions and 6 deletions

View file

@ -112,9 +112,9 @@
}
</script>
<!-- svelte-ignore a11y_click_events_have_key_events -->
<div
onclick={isAvailable ? handleClick : undefined}
onkeydown={(e) => e.key === 'Enter' && isAvailable && handleClick()}
role="button"
tabindex={isAvailable ? 0 : -1}
aria-disabled={!isAvailable}