Making your links "readable" for screen readers | DubBot Help Center (2024)

Having readable text associated with your link(s) is critical for users who use screen readers in order to help them to easily navigate your site. These users are typically not using a mouse and utilize a keyboard to navigate.

Screen readers often allow users to jump through available links on web pages. This means that links are often read outside of the context of the webpage's content.

Link text best practices include:

  • Link text should be able to stand on its own and allow a web visitor to know where it will go by solely reading the link's text and nothing else around it.

  • Link text should not include the URL of the link. Screen readers will read each letter of the URL if it is in the link text.

  • It is best not to use the same text for more than one link, as that poses an accessibility issue with making the website experience consistent for browsing. If you do, you must provide additional information.

Here are some common link types with examples of how to correctly author:

Create discernible text for simple text links

When creating basic link text, take a moment to ensure that the link text gives users a clear idea of just where the link is going to take them.

BAD

Click here to read about the WCAG Overview.

<a href="https://www.w3.org/WAI/standards-guidelines/wcag/">Click here</a> to read about the WCAG Overview.

When using a screen reader, a visitor would only see the words 'Click here' when reviewing a list of links for a page. This would give them no idea of the link destination.

GOOD

Read more details in the WCAG Overview article.

Read more details in the<a href="https://www.w3.org/WAI/standards-guidelines/wcag/" >WCAG Overview article</a>

By providing the user the text 'WCAG Overview article' for the link text, there is no doubt where this link will take them.

Add discernible text to repetitive links

When your site has a page that provides an overview of other pages, such as a news or blog home page, you need to pay special attention to ensuring the links have the appropriate associated text for links to the full article.

An example of our DubBlog home page:

Making your links "readable" for screen readers | DubBot Help Center (1)

Notice the three 'Read More' buttons. Without special treatment, this text would not provide the user with discernible text for these links.

Manual Solution

If you are manually producing the content for such an overview page, add an aria-label attribute with the appropriate descriptive text to your link. The content inside the aria-label tag will be read to the screen reader user instead of just 'Read More.'

<a aria-label="Read More of Holiday Office Hours">Read More</a>

Automated Solution

If your overview page is generated by a CMS, you can automate the creation of an 'aria-labelledby' attribute. Following is the example from our blog home page:

<a aria-labelledby="link_63f7bf9e0a1504b44fda4cca2b8a5082 of blog_63f7bf9e0a1504b44fda4cca2b8a5082" class="button is-rounded" href="2023/holiday-office-hours.html" id="link_63f7bf9e0a1504b44fda4cca2b8a5082">Read More</a>

This code will output 'Read More of Holiday Office Hours' as the discernible link text that would be read by a screen reader.

Add discernible text to image links

When images are used as links, the alt tag for the image is read as the discernible text for the link. In such cases, be sure you refer to the destination of the link in the alt text.

Making your links "readable" for screen readers | DubBot Help Center (2)

From the DubBot logo in the top, left of our DubBot Home page.

<a class="navbar-item mr-5" href="../index.html">

<img alt="DubBot homepage" src="../_image/dubbot-primary-logo.jpg">

</a>

Add discernible text to links with no text

The most common offender we see in this area is social media icons.

Correct Example:
<a href="https://twitter.com/dubbotqa" aria-label="Twitter" class="icon icon-twitter"></a>

Even though there is no content between the <a> and </a> tags, by adding the 'aria-label' attribute, it ensures that discernible text will be announced to our screen reader users.

Making your links "readable" for screen readers | DubBot Help Center (2024)
Top Articles
965. Conspiracy to Violate the Mail Fraud or Wire Fraud Statutes
CoinSnap: Coin Identifier - Learn Coins and Their Value
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Spn 1816 Fmi 9
Brady Hughes Justified
O'reilly's Auto Parts Closest To My Location
Doublelist Paducah Ky
Whiskeytown Camera
Qhc Learning
Detroit Lions 50 50
Socket Exception Dunkin
Identogo Brunswick Ga
6001 Canadian Ct Orlando Fl
Hood County Buy Sell And Trade
Learn2Serve Tabc Answers
Me Cojo A Mama Borracha
Uktulut Pier Ritual Site
How Much Is Tay Ks Bail
Decosmo Industrial Auctions
Cincinnati Adult Search
Teen Vogue Video Series
Magic Seaweed Daytona
Ecampus Scps Login
The Procurement Acronyms And Abbreviations That You Need To Know Short Forms Used In Procurement
897 W Valley Blvd
Our Leadership
Allegheny Clinic Primary Care North
Mark Ronchetti Daughters
R/Orangetheory
Best New England Boarding Schools
Mumu Player Pokemon Go
NIST Special Publication (SP) 800-37 Rev. 2 (Withdrawn), Risk Management Framework for Information Systems and Organizations: A System Life Cycle Approach for Security and Privacy
How to Draw a Bubble Letter M in 5 Easy Steps
Skroch Funeral Home
Rogers Centre is getting a $300M reno. Here's what the Blue Jays ballpark will look like | CBC News
Dr. John Mathews Jr., MD – Fairfax, VA | Internal Medicine on Doximity
Emerge Ortho Kronos
Koninklijk Theater Tuschinski
Myanswers Com Abc Resources
Craigslist Tulsa Ok Farm And Garden
Cranston Sewer Tax
Infinite Campus Parent Portal Hall County
968 woorden beginnen met kruis
Bcy Testing Solution Columbia Sc
2023 Fantasy Football Draft Guide: Rankings, cheat sheets and analysis
Birmingham City Schools Clever Login
Gt500 Forums
Samsung 9C8
Egg Inc Wiki
Acuity Eye Group - La Quinta Photos
Compete My Workforce
Primary Care in Nashville & Southern KY | Tristar Medical Group
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 5656

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.