1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

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 e8c3e13aab
commit 6fc4bbe5df

View file

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