Skip to content

Commit

Permalink
fix (a11y): mark all external links with the aria-label "(opens in a …
Browse files Browse the repository at this point in the history
…new tab)" (#821)

Co-authored-by: noa.santo <[email protected]>
  • Loading branch information
virus-rpi and noa.santo authored Sep 19, 2024
1 parent 56c9a58 commit 114b820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/legacy/links/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const Link = (props: LinkProps): JSX.Element => {
target="_blank"
rel="noopener"
className={className}
aria-label={`${children} (opens in a new tab)`}
{...rest}
>
{children}
Expand Down

0 comments on commit 114b820

Please sign in to comment.