fix(v2): add aria-label to read more links for a11y (#1977)

This commit is contained in:
Alexey Pyltsyn 2019-11-13 09:08:01 +03:00 committed by Endi
parent 95e9963303
commit 64d2ec2c77

View file

@ -106,7 +106,9 @@ function BlogPostItem(props) {
)} )}
{truncated && ( {truncated && (
<div className="col text--right"> <div className="col text--right">
<Link to={metadata.permalink}> <Link
to={metadata.permalink}
aria-label={`Read more about ${title}`}>
<strong>Read More</strong> <strong>Read More</strong>
</Link> </Link>
</div> </div>