fix(EdgeLabel): fix a11y error in svelte
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
style:width={toPxString(width)}
|
||||
style:height={toPxString(height)}
|
||||
style:z-index={z}
|
||||
role="button"
|
||||
role="group"
|
||||
aria-roledescription="edge label"
|
||||
tabindex="-1"
|
||||
onclick={() => {
|
||||
if (selectEdgeOnClick && id) store.handleEdgeSelection(id);
|
||||
|
||||
Reference in New Issue
Block a user