Skip to content

Commit 8c49e1e

Browse files
committed
fix(graph): explicit tabindex=-1 + focusable=false on SVG to clear axe nested-interactive
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent c833626 commit 8c49e1e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/web/templates/graph_v2.templ

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ templ graphSVG(data *ldap_cache.GraphData, focusLabel string) {
113113
role="img"
114114
aria-labelledby="graph-canvas-title"
115115
aria-describedby="graph-canvas-desc"
116+
tabindex="-1"
117+
focusable="false"
116118
>
117119
<title id="graph-canvas-title">{ "Relationship graph for " + focusLabel }</title>
118120
<desc id="graph-canvas-desc">

0 commit comments

Comments
 (0)