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}
|
position={position}
|
||||||
className="react-flow__attribution"
|
className="react-flow__attribution"
|
||||||
data-message="Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev"
|
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">
|
<a href="https://reactflow.dev" target="_blank" rel="noopener noreferrer" aria-label="React Flow attribution">
|
||||||
React Flow
|
React Flow
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ const MarkerDefinitions = ({ defaultColor, rfId }: MarkerDefinitionsProps) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<svg className="react-flow__marker">
|
<svg className="react-flow__marker" aria-hidden="true">
|
||||||
<defs>
|
<defs>
|
||||||
{markers.map((marker: MarkerProps) => (
|
{markers.map((marker: MarkerProps) => (
|
||||||
<Marker
|
<Marker
|
||||||
|
|||||||
Reference in New Issue
Block a user