Skip to content

Commit

Permalink
Adds ARIA Tooltip role to silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Mar 26, 2024
1 parent 4c4fac6 commit b243ce1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common/Tooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
</script>

{#if show}
<span on:mouseenter={handleMouseOver} on:mouseleave={handleMouseOut}>
<span
on:mouseenter={handleMouseOver}
on:mouseleave={handleMouseOut}
role="tooltip"
>
<div
bind:this={tooltip}
class="tooltip"
Expand Down

0 comments on commit b243ce1

Please sign in to comment.