From 0993c2c0af263c201f3e18ab27a2bc050772754e Mon Sep 17 00:00:00 2001 From: moklick Date: Thu, 10 Apr 2025 11:25:39 +0200 Subject: [PATCH 1/3] chore(marker): add aria-hidden true #5190 --- packages/react/src/components/Attribution/index.tsx | 1 + packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/Attribution/index.tsx b/packages/react/src/components/Attribution/index.tsx index eb69bd13..813aaf02 100644 --- a/packages/react/src/components/Attribution/index.tsx +++ b/packages/react/src/components/Attribution/index.tsx @@ -17,6 +17,7 @@ export function Attribution({ proOptions, position = 'bottom-right' }: Attributi position={position} className="react-flow__attribution" data-message="Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev" + aria-hidden="true" > React Flow diff --git a/packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx b/packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx index 17b5950c..1c12775d 100644 --- a/packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx +++ b/packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx @@ -67,7 +67,7 @@ const MarkerDefinitions = ({ defaultColor, rfId }: MarkerDefinitionsProps) => { } return ( - +