chore: swap role for ariaRole, add svelte
This commit is contained in:
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user