chore(a11y): cleanup config keys
This commit is contained in:
@@ -42,16 +42,16 @@ export const defaultAriaLabelConfig = {
|
||||
'Press enter or space to select a node. Press delete to remove it and escape to cancel.',
|
||||
'node.a11yDescription.keyboardDisabled':
|
||||
'Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.',
|
||||
'node.a11yDescription.ariaLiveMessage': ({ direction, x, y }: { direction: string; x: number; y: number }) =>
|
||||
`Moved selected node ${direction}. New position, x: ${x}, y: ${y}`,
|
||||
'edge.a11yDescription.default':
|
||||
'Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.',
|
||||
'a11yDescription.ariaLiveMessage': ({ direction, x, y }: { direction: string; x: number; y: number }) =>
|
||||
`Moved selected node ${direction}. New position, x: ${x}, y: ${y}`,
|
||||
|
||||
// Control elements
|
||||
'controls.ariaLabel': 'Control Panel',
|
||||
'controls.zoomin.ariaLabel': 'Zoom In',
|
||||
'controls.zoomout.ariaLabel': 'Zoom Out',
|
||||
'controls.fitview.ariaLabel': 'Fit View',
|
||||
'controls.zoomIn.ariaLabel': 'Zoom In',
|
||||
'controls.zoomOut.ariaLabel': 'Zoom Out',
|
||||
'controls.fitView.ariaLabel': 'Fit View',
|
||||
'controls.interactive.ariaLabel': 'Toggle Interactivity',
|
||||
|
||||
// Mini map
|
||||
|
||||
Reference in New Issue
Block a user