Skip to content

Commit

Permalink
Fix missing label for footer site links
Browse files Browse the repository at this point in the history
Since we lazyload the images the links before coming into view have just an empty span and a11y linters complain about missing labels for links.
  • Loading branch information
ichim-david committed Oct 4, 2023
1 parent 7073a2a commit 5703042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/Footer/FooterSites.jsx
Expand Up @@ -12,7 +12,7 @@ const Sites = (props) => {
const nextItem = logos[i + 1];
column.push(
<Grid.Column className="logo" key={i}>
<a className="logo" href={item.url}>
<a className="logo" href={item.url} aria-label={item.alt}>
<LazyLoadComponent>
<Image
className={item.className}
Expand All @@ -21,7 +21,7 @@ const Sites = (props) => {
></Image>
</LazyLoadComponent>
</a>
<a className="logo" href={nextItem.url}>
<a className="logo" href={nextItem.url} aria-label={item.alt}>
<LazyLoadComponent>
<Image
className={nextItem.className}
Expand Down

0 comments on commit 5703042

Please sign in to comment.