Skip to content

Commit

Permalink
Add aria label to sharebuttons
Browse files Browse the repository at this point in the history
  • Loading branch information
leomet07 committed Jan 30, 2024
1 parent 46a0f72 commit 3996c92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/ShareButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const ShareButton = ({ url, provider }: ShareButtonProps) => {
href={shareUrls[provider] + url}
target="_blank"
rel="noopener noreferrer"
aria-label={provider.charAt(0).toUpperCase() + provider.slice(1)}
>
{returnIcon()}
</a>
Expand Down

0 comments on commit 3996c92

Please sign in to comment.