#5201 chore(A11yDescriptions): add static support for localization

This commit is contained in:
Abbey Yacoe
2025-05-19 13:15:26 +02:00
parent 5ab92e2478
commit 9e4a9ae65d
5 changed files with 46 additions and 6 deletions
@@ -235,6 +235,11 @@ const OverviewFlow = () => {
onBeforeDelete={onBeforeDelete}
onDelete={onDelete}
onPaneMouseMove={onPaneMouseMove}
a11yMessages={{
'a11yDescription.node.default': 'Custom Node Desc.',
'a11yDescription.node.keyboardDisabled': 'Custom Keyboard Desc.',
'a11yDescription.edge.default': 'Custom Edge Desc.',
}}
>
<MiniMap nodeBorderRadius={2} />
<Controls orientation="horizontal" />