Merge pull request #5325 from xyflow/remove-ariaroledescription
fix(a11y): remove outdated `ariaRoleDescription` field
This commit is contained in:
@@ -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',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user