chore: swap role for ariaRole, add svelte

This commit is contained in:
Abbey Yacoe
2025-06-02 12:10:54 +02:00
parent ba9df8eaf8
commit cdc08f1b54
6 changed files with 8 additions and 16 deletions
@@ -252,7 +252,7 @@
: undefined}
onkeydown={focusable ? onKeyDown : undefined}
tabIndex={focusable ? 0 : undefined}
role={focusable ? 'button' : undefined}
role={node.ariaRole === null ? undefined : node.ariaRole || (focusable ? 'button' : undefined)}
aria-describedby={store.disableKeyboardA11y
? undefined
: `${ARIA_NODE_DESC_KEY}-${store.flowId}`}