Skip to content

Commit

Permalink
Social links a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdavenport committed Aug 11, 2023
1 parent 371160c commit d7ac7ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/FloatingSocial.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const socials = [
target="_blank"
rel="noopener noreferrer">
<span class="flex w-4 h-4">
<img class="h-full w-full" src={`/images/social-${name}.png`} />
<img class="h-full w-full" src={`/images/social-${name}.png`} alt={`${name} logo`} />
</span>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Ui/Content/SocialLink.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (name in socialLinks) {

{
link && (
<a href={link} target="_blank" rel="noopener noreferrer">
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={`Unitary Fund ${name}`}>
<slot />
</a>
)
Expand Down

0 comments on commit d7ac7ff

Please sign in to comment.