Skip to content

Commit a02e77b

Browse files
Fix Accessibility Violations in Partner Logos Section
1 parent c89eda2 commit a02e77b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,15 @@ const IndexPage = ({ data }) => {
282282
className={css.logo}
283283
href={url}
284284
target="_blank"
285-
rel="noreferrer">
285+
rel="noreferrer"
286+
aria-label={name}>
286287
{typeof Logo === 'string' ? (
287288
<GatsbyImage
288289
image={data[Logo].childImageSharp.gatsbyImageData}
289290
alt={name}
290291
/>
291292
) : (
292-
<Logo />
293+
<Logo aria-hidden="true" />
293294
)}
294295
</a>
295296
</li>

0 commit comments

Comments
 (0)