Fix aria-hidden directly on a link element

This link wouldn't have been clickable by screenreaders
This commit is contained in:
Marcus Blättermann 2023-01-24 07:41:46 +01:00
parent 6712bc0913
commit 73344b539e
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -14,8 +14,8 @@ export default function ReadNext({ title, to }) {
<Label>Read next</Label> <Label>Read next</Label>
{title} {title}
</Link> </Link>
<Link to={to} noLinkLayout className={classes.icon} aria-hidden="true"> <Link to={to} noLinkLayout className={classes.icon}>
<Icon name="arrowright" /> <Icon name="arrowright" aria-hidden="true" />
</Link> </Link>
</div> </div>
) )