mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
fix(v2): add aria-label to read more links for a11y (#1977)
This commit is contained in:
parent
95e9963303
commit
64d2ec2c77
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue