Skip to content

Commit 78b668b

Browse files
committed
fix: add missing a11y in inner teleport target
1 parent d0fea09 commit 78b668b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/components/Compare/FacetScatterChart.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,11 @@ onMounted(async () => {
370370

371371
<!-- Custom legend -->
372372
<template #legend="{ legend }" v-if="readyTeleport">
373-
<div id="compare-scatter-legend-inner"></div>
373+
<div
374+
id="compare-scatter-legend-inner"
375+
role="group"
376+
aria-labelledby="scatter-chart-legend-packages"
377+
></div>
374378
<Teleport
375379
:to="isMobile ? '#compare-scatter-legend-inner' : '#compare-scatter-legend'"
376380
>

0 commit comments

Comments
 (0)