fix(EdgeLabel): fix a11y error in svelte

This commit is contained in:
Abbey Yacoe
2025-06-02 14:35:44 +02:00
parent 28b0430606
commit cb3e80dc54

View File

@@ -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);