Skip to content

Commit

Permalink
fix: add accessible link text to committee member email+tg links
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow committed Dec 15, 2024
1 parent a17dc1e commit 8b958cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/web/src/components/committee-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ function CommitteeMemberCard({
className="flex items-center gap-1"
href={`mailto:${committeeMember.email}`}
>
<span className="sr-only">
{committeeMember.name} Email: {committeeMember.email}
</span>
<GmailIcon className="size-6 shrink-0" />
</a>
) : null}
Expand All @@ -60,6 +63,10 @@ function CommitteeMemberCard({
rel="noopener noreferrer"
target="_blank"
>
<span className="sr-only">
{committeeMember.name} Telegram:{" "}
{parseTG(committeeMember.telegramUsername)}
</span>
<TelegramIcon className="size-6 shrink-0" />
</a>
) : null}
Expand Down

0 comments on commit 8b958cc

Please sign in to comment.