mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-12-05 16:38:57 -05:00
fix missing title attribute on icon-only menu links
This commit is contained in:
@@ -70,7 +70,7 @@ const MenuItem = ({ icon: ItemIcon, href, text, current, className }: MenuItemPr
|
|||||||
if (href) {
|
if (href) {
|
||||||
return (
|
return (
|
||||||
<NextLink href={href} prefetch={false} passHref={true}>
|
<NextLink href={href} prefetch={false} passHref={true}>
|
||||||
<Link className={className} current={current}>
|
<Link className={className} current={current} title={text} aria-label={text}>
|
||||||
{linkContent}
|
{linkContent}
|
||||||
</Link>
|
</Link>
|
||||||
</NextLink>
|
</NextLink>
|
||||||
|
|||||||
Reference in New Issue
Block a user