chore(marker): add aria-hidden true #5190

This commit is contained in:
moklick
2025-04-10 11:25:39 +02:00
parent 93d083f56d
commit 0993c2c0af
2 changed files with 2 additions and 1 deletions
@@ -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"
>
<a href="https://reactflow.dev" target="_blank" rel="noopener noreferrer" aria-label="React Flow attribution">
React Flow
@@ -67,7 +67,7 @@ const MarkerDefinitions = ({ defaultColor, rfId }: MarkerDefinitionsProps) => {
}
return (
<svg className="react-flow__marker">
<svg className="react-flow__marker" aria-hidden="true">
<defs>
{markers.map((marker: MarkerProps) => (
<Marker