fix(a11y): use correct vue flow aria names
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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`,
|
||||
|
||||
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user