Skip to content

Commit 6cfcee3

Browse files
committed
fix: try replacing buttons with spans and pray
1 parent c0022ae commit 6cfcee3

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

app/components/Compare/FacetQuadrantChart.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,13 @@ const config = computed<VueUiQuadrantConfig>(() => {
386386

387387
<foreignObject :x="0" :y="30" style="overflow: visible" :width="svg.width" :height="12">
388388
<div class="flex items-center justify-center gap-2">
389-
<TooltipApp interactive>
390-
<button
389+
<TooltipApp
390+
:aria-label="$t('compare.quadrant_chart.explanation.tooltip_help_efficiency')"
391+
>
392+
<span
391393
data-dom-to-png-ignore
392-
type="button"
393394
class="i-lucide:info w-3.5 h-3.5 text-fg-muted cursor-help"
394-
:aria-label="$t('compare.quadrant_chart.explanation.tooltip_help_efficiency')"
395+
aria-hidden="true"
395396
/>
396397
<template #content>
397398
<div class="flex flex-col gap-3">
@@ -412,8 +413,8 @@ const config = computed<VueUiQuadrantConfig>(() => {
412413
:height="12"
413414
>
414415
<div class="flex items-center justify-center gap-2">
415-
<TooltipApp interactive>
416-
<button
416+
<TooltipApp>
417+
<span
417418
data-dom-to-png-ignore
418419
type="button"
419420
class="i-lucide:info w-3.5 h-3.5 text-fg-muted cursor-help"

0 commit comments

Comments
 (0)