Skip to content
Snippets Groups Projects
Commit 9c048408 authored by David Smadja's avatar David Smadja
Browse files

Add aria-label

parent a9ee1ceb
No related branches found
No related tags found
1 merge request!305Resolve "Les dispositifs "prestations sociales" du graphique se cachent/montrent en même temps"
...@@ -1061,6 +1061,7 @@ ...@@ -1061,6 +1061,7 @@
initialPlacement="top" initialPlacement="top"
> >
<button <button
aria-labelledby="hide-show-tooltip-{variable.name}"
class="group h-full pl-0.5 pr-1" class="group h-full pl-0.5 pr-1"
onclick={() => { onclick={() => {
variableCustomizations[ variableCustomizations[
...@@ -1095,7 +1096,7 @@ ...@@ -1095,7 +1096,7 @@
</button> </button>
{#snippet tooltip()} {#snippet tooltip()}
<div <div
id="hide-show-tooltip" id="hide-show-tooltip-{variable.name}"
class="overflow-hidden rounded-lg bg-black px-2 py-1 text-sm text-white" class="overflow-hidden rounded-lg bg-black px-2 py-1 text-sm text-white"
title={isSelected ? "Cacher" : "Montrer"} title={isSelected ? "Cacher" : "Montrer"}
> >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment