chore(cleanup)

This commit is contained in:
moklick
2025-06-05 15:44:51 +02:00
parent 09458f52ff
commit 9ebc10ac9f
4 changed files with 4 additions and 4 deletions
@@ -138,7 +138,7 @@
: `Edge from ${source} to ${target}`}
aria-describedby={focusable ? `${ARIA_EDGE_DESC_KEY}-${store.flowId}` : undefined}
role={edge.ariaRole ?? (focusable ? 'group' : 'img')}
aria-roledescription={edge.domAttributes?.['aria-roledescription'] || 'edge'}
aria-roledescription="edge"
onkeydown={focusable ? onkeydown : undefined}
tabindex={focusable ? 0 : undefined}
{...edge.domAttributes}
@@ -254,7 +254,7 @@
onkeydown={focusable ? onKeyDown : undefined}
tabIndex={focusable ? 0 : undefined}
role={node.ariaRole ?? (focusable ? 'group' : undefined)}
aria-roledescription={node.domAttributes?.['aria-roledescription'] || 'node'}
aria-roledescription="node"
aria-describedby={store.disableKeyboardA11y
? undefined
: `${ARIA_NODE_DESC_KEY}-${store.flowId}`}