Skip to content

Commit

Permalink
avoid using aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Nov 16, 2023
1 parent 499234f commit 737460a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Tooltip/react/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const Tooltip: React.FC<
colors.background,
)}
>
<span aria-label="Toolip: "></span>
<span class="sr-only">Tooltip: </span>
{popper}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/Tooltip/vue/Tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ onMounted(() => {
class="rounded text-[16px] leading-[24px] min-w-[160px] text-center p-[8px] relative z-20"
:class="colors.background"
>
<span aria-label="Toolip: "></span>
<span class="sr-only">Tooltip: </span>
<!-- @slot content of the tooltip -->
<slot name="popper" />
</div>
Expand Down

0 comments on commit 737460a

Please sign in to comment.