1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 22:46:39 -04:00

fix missing title attribute on icon-only menu links

This commit is contained in:
2022-03-07 19:51:51 -05:00
parent a917b5f81d
commit 19394c1fb7

View File

@ -70,7 +70,7 @@ const MenuItem = ({ icon: ItemIcon, href, text, current, className }: MenuItemPr
if (href) {
return (
<NextLink href={href} prefetch={false} passHref={true}>
<Link className={className} current={current}>
<Link className={className} current={current} title={text} aria-label={text}>
{linkContent}
</Link>
</NextLink>