fix(a11y): use correct vue flow aria names

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-29 14:28:30 +01:00
committed by Braks
parent b606cba3f8
commit fbebe56240
2 changed files with 2 additions and 2 deletions
@@ -4,7 +4,7 @@ const { userSelectionRect } = useVueFlow()
<template>
<div
class="vue-flow__selection react-flow__container"
class="vue-flow__selection vue-flow__container"
:style="{
width: `${userSelectionRect?.width}px`,
height: `${userSelectionRect?.height}px`,
+1 -1
View File
@@ -3,7 +3,7 @@ import type { XYPosition } from '~/types'
export const ARIA_NODE_DESC_KEY = 'vue-flow__node-desc'
export const ARIA_EDGE_DESC_KEY = 'vue-flow__edge-desc'
export const ARIA_LIVE_MESSAGE = 'react-flow__aria-live'
export const ARIA_LIVE_MESSAGE = 'vue-flow__aria-live'
export const elementSelectionKeys = ['Enter', ' ', 'Escape']