diff --git a/examples/react/src/examples/A11y/index.tsx b/examples/react/src/examples/A11y/index.tsx index 4cc2cdff..85d959ff 100644 --- a/examples/react/src/examples/A11y/index.tsx +++ b/examples/react/src/examples/A11y/index.tsx @@ -63,6 +63,8 @@ const A11y = () => { 'a11yDescription.node.default': 'Custom Node Desc.', 'a11yDescription.node.keyboardDisabled': 'Custom Keyboard Desc.', 'a11yDescription.edge.default': 'Custom Edge Desc.', + 'a11yDescription.ariaLiveMessage': (node: string, x: number, y: number) => + `Custom Moved selected node ${node}. New position, x: ${x}, y: ${y}`, 'controls.ariaLabel': 'Custom Controls Aria Label', 'controls.zoomin.title': 'Custom Zoom in', 'controls.zoomout.title': 'Custom Zoom Out', diff --git a/examples/svelte/src/routes/examples/a11y/+page.svelte b/examples/svelte/src/routes/examples/a11y/+page.svelte index d4e1d320..4f0ab7b0 100644 --- a/examples/svelte/src/routes/examples/a11y/+page.svelte +++ b/examples/svelte/src/routes/examples/a11y/+page.svelte @@ -15,7 +15,8 @@ position: { x: 0, y: 0 }, data: { label: 'A' }, }, - { id: 'B', position: { x: -100, y: 150 }, data: { label: '