Skip to content

Commit 25f4a29

Browse files
authored
Accessibility homepage - adding aria-hidden to svg (#48974)
1 parent ddffad8 commit 25f4a29

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/landings/components/OctocatHeader.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import { ComponentProps } from 'react'
33
type Props = ComponentProps<'svg'>
44
export function OctocatHeader(props: Props) {
55
return (
6-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1163.67 358.83" {...props}>
6+
<svg
7+
xmlns="http://www.w3.org/2000/svg"
8+
viewBox="0 0 1163.67 358.83"
9+
aria-hidden="true"
10+
{...props}
11+
>
712
<g data-name="Layer 2">
813
<g data-name="octocat header">
914
<ellipse cx={103.6} cy={346.72} rx={87.23} ry={8.57} fill="rgba(0,0,0,.15)" />

0 commit comments

Comments
 (0)