chore(marker): add aria-hidden true #5190
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user