Merge pull request #5325 from xyflow/remove-ariaroledescription

fix(a11y): remove outdated `ariaRoleDescription` field
This commit is contained in:
Moritz Klack
2025-06-10 12:53:18 +02:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
import { MouseEvent, useState } from 'react';
import { useState } from 'react';
import {
ReactFlow,
MiniMap,
@@ -34,7 +34,6 @@ const initialNodes: Node[] = [
data: { label: 'Node 3' },
position: { x: 100, y: 100 },
className: 'light',
ariaRoleDescription: 'custom node role',
ariaRole: 'button',
},
{