mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 21:00:19 +03:00
Fix aria-hidden
directly on a link element
This link wouldn't have been clickable by screenreaders
This commit is contained in:
parent
6712bc0913
commit
73344b539e
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user