Skip to content

Commit 442e2c8

Browse files
committed
Add aria-label to social icons
1 parent 7690281 commit 442e2c8

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

src/app/conf/_components/social-icons.tsx

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,42 @@ export function SocialIcons({
3030
)}
3131
{...rest}
3232
>
33-
<a href="https://github.com/graphql" {...anchorProps}>
33+
<a href="https://github.com/graphql" aria-label="GitHub" {...anchorProps}>
3434
<GitHubIcon />
3535
</a>
36-
<a href="https://discord.graphql.org" {...anchorProps}>
36+
<a
37+
href="https://discord.graphql.org"
38+
aria-label="Discord"
39+
{...anchorProps}
40+
>
3741
<DiscordIcon className="fill-current" />
3842
</a>
39-
<a href="https://twitter.com/graphql" {...anchorProps}>
43+
<a
44+
href="https://twitter.com/graphql"
45+
aria-label="Twitter"
46+
{...anchorProps}
47+
>
4048
<TwitterIcon />
4149
</a>
4250
<a
4351
href="https://linkedin.com/company/graphql-foundation"
52+
aria-label="LinkedIn"
4453
{...anchorProps}
4554
>
4655
<LinkedInIcon />
4756
</a>
4857
{count === 6 && (
4958
<>
50-
<a href="https://youtube.com/@GraphQLFoundation" {...anchorProps}>
59+
<a
60+
href="https://youtube.com/@GraphQLFoundation"
61+
aria-label="YouTube"
62+
{...anchorProps}
63+
>
5164
<YouTubeIcon className="fill-current" />
5265
</a>
5366
<a
5467
href="https://facebook.com/groups/graphql.community"
68+
aria-label="Facebook"
5569
{...anchorProps}
5670
>
5771
<FacebookIcon />

0 commit comments

Comments
 (0)