mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-03 11:50: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>
|
||||
{title}
|
||||
</Link>
|
||||
<Link to={to} noLinkLayout className={classes.icon} aria-hidden="true">
|
||||
<Icon name="arrowright" />
|
||||
<Link to={to} noLinkLayout className={classes.icon}>
|
||||
<Icon name="arrowright" aria-hidden="true" />
|
||||
</Link>
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user