Skip to content

Commit dc07cc9

Browse files
committed
Refactor site-title component to remove unnecessary role attribute
1 parent 87fdf9a commit dc07cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/site-title.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from './link'
44
import useSiteMetadata from '../hooks/use-site-metadata'
55

66
const NpmLogo = ({size, sx}) => (
7-
<Box sx={{...sx, color: 'logoBg'}} role="banner">
7+
<Box sx={{...sx, color: 'logoBg'}}>
88
<svg height={size} width={size} viewBox="0 0 700 700" fill="currentColor" aria-hidden="true">
99
<polygon fill="currentColor" points="0,700 700,700 700,0 0,0" />
1010
<polygon fill="#ffffff" points="150,550 350,550 350,250 450,250 450,550 550,550 550,150 150,150 " />

0 commit comments

Comments
 (0)