chore(svelte): add role to EdgeLabel to prevent a11y warnings closes #3841
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
class="svelte-flow__edge-label"
|
||||
style:transform="translate(-50%, -50%) translate({x}px,{y}px)"
|
||||
style={'pointer-events: all;' + style}
|
||||
role="button"
|
||||
on:click={() => {
|
||||
if (id) handleEdgeSelect(id);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user