From 4871cc2623ba12d0c58d3619c257a711212f3ee5 Mon Sep 17 00:00:00 2001 From: Benjamin Marguin Date: Mon, 19 Jun 2023 17:53:01 +0200 Subject: [PATCH] Add aria-expanded to layersTree groups --- .../Visualizer/LayersTree/LayersTreeGroup/LayersTreeGroup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/Visualizer/LayersTree/LayersTreeGroup/LayersTreeGroup.js b/src/modules/Visualizer/LayersTree/LayersTreeGroup/LayersTreeGroup.js index d50d1d15..934155c2 100644 --- a/src/modules/Visualizer/LayersTree/LayersTreeGroup/LayersTreeGroup.js +++ b/src/modules/Visualizer/LayersTree/LayersTreeGroup/LayersTreeGroup.js @@ -56,6 +56,7 @@ export class LayersTreeGroup extends React.Component { onClick={handleClick} icon={open ? 'chevron-down' : 'chevron-right'} minimal + aria-expanded={Boolean(open)} > {title}