Add on:focus handler to button to fix A11y issue
This commit is contained in:
parent
e8c3e13aab
commit
6fc4bbe5df
|
@ -30,6 +30,7 @@
|
||||||
{disabled}
|
{disabled}
|
||||||
on:click|preventDefault
|
on:click|preventDefault
|
||||||
on:mouseover={() => (showTooltip = true)}
|
on:mouseover={() => (showTooltip = true)}
|
||||||
|
on:focus={() => (showTooltip = true)}
|
||||||
on:mouseleave={() => (showTooltip = false)}
|
on:mouseleave={() => (showTooltip = false)}
|
||||||
>
|
>
|
||||||
{#if icon}
|
{#if icon}
|
||||||
|
|
Loading…
Reference in New Issue