• Resolved brianpeat

    (@brianpeat)


    I’m working on a site that needs to work well with screen readers and pass accessibility scans. Is there any way to add an aria label to the read more link? I don’t really want to have to make a long line like “Click here to read more of this blog post” but if I could add an aria label to the link, I can put the long text in the label and leave the link visible as “read more”. It would look like:

    <a class="excerpt-more" href="https://voicewp.peatgrouphosting.com/blog/entry/things-are-changing/" aria-label="Click here to read more of this blog post">Read More</a>

Viewing 1 replies (of 1 total)
  • Thread Starter brianpeat

    (@brianpeat)

    Update, seems that if you use the wording “Continue Reading” the accessibility scanner says that’s enough to make it known what it’s doing so I guess I don’t actually need the aria label now.

Viewing 1 replies (of 1 total)
  • The topic ‘Add an aria label to the read more link?’ is closed to new replies.