Skip to content

Commit

Permalink
feat(apps/web): Add underline to links to fix "Links must be distingu…
Browse files Browse the repository at this point in the history
…ishable without relying on color

" aria error - https://dequeuniversity.com/rules/axe/4.10/link-in-text-block
  • Loading branch information
nevendyulgerov committed Jan 29, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fdd27c6 commit b6d170e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/components/layout/footer.tsx
Original file line number Diff line number Diff line change
@@ -33,7 +33,8 @@ const FooterLink: FC<FooterLinkProps> = ({ children, href, color }) => {
href={href}
target="_blank"
component={Link}
c={color ?? theme.colors.gray[colorScheme === "light" ? 7 : 6]}
c={color ?? theme.colors.gray[colorScheme === "light" ? 9 : 4]}
underline="always"
>
{children}
</Anchor>

0 comments on commit b6d170e

Please sign in to comment.