Add on:focus handler to button to fix A11y issue

This commit is contained in:
Andrew Kingston 2022-02-15 09:31:55 +00:00
parent 070d4f74f0
commit 78458d549d
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@
{disabled}
on:click|preventDefault
on:mouseover={() => (showTooltip = true)}
on:focus={() => (showTooltip = true)}
on:mouseleave={() => (showTooltip = false)}
>
{#if icon}