fix(a11y): remove outdated ariaRoleDescription field

This commit is contained in:
Abbey Yacoe
2025-06-10 12:36:58 +02:00
parent 78bf96c130
commit f0ecdeeda5
+1 -2
View File
@@ -1,4 +1,4 @@
import { MouseEvent, useState } from 'react'; import { useState } from 'react';
import { import {
ReactFlow, ReactFlow,
MiniMap, MiniMap,
@@ -34,7 +34,6 @@ const initialNodes: Node[] = [
data: { label: 'Node 3' }, data: { label: 'Node 3' },
position: { x: 100, y: 100 }, position: { x: 100, y: 100 },
className: 'light', className: 'light',
ariaRoleDescription: 'custom node role',
ariaRole: 'button', ariaRole: 'button',
}, },
{ {