Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Proper link text and title attributes

From: Web Accessibility Principles

Video: Proper link text and title attributes

>> We now have both our main navigation and section navigation menus set up, but most pages will have links within the text of the page as well. Users frequently jump from link to link when they encounter a new page. Screen reader users can use this by bringing up a listing of all the links in a page using keyboard commands. Sighted users can use their eyes to jump from link to link on a page looking for the different link color and underlining. But if the links aren't set up properly, the screen reader's links listing will not be of much use to them.

Proper link text and title attributes

>> We now have both our main navigation and section navigation menus set up, but most pages will have links within the text of the page as well. Users frequently jump from link to link when they encounter a new page. Screen reader users can use this by bringing up a listing of all the links in a page using keyboard commands. Sighted users can use their eyes to jump from link to link on a page looking for the different link color and underlining. But if the links aren't set up properly, the screen reader's links listing will not be of much use to them.

For instance, there may just be so many links on the page that it makes it impractical to even use the links listing as a navigation method. If the link text doesn't match the topic of the linked page, this will confuse the screen reader user. A sighted user can look at the text around the link to get more information about where the link will take them. A screen reader user can do this as well by leaving the links listing and going back to reading the page, but it will take them much longer to do so. This is also a problem when the link text is vague, for instance it just says click here or read more.

Again, the screen reader user will not know where they're going to go to, so they'll have to go into reading the page, get back to that link, read to the text around it before they can decide whether that's the link that they're looking for and that they want to go to. If the same text is repeated for multiple links in the page, the screen reader user would have to hear that read to them many times in the links listing and again would not be able to determine which link was which. So if possible, write your link text so that it is meaningful and can make some sense out of context and so that it is unique from other links on the page.

This is not always possible, but for the majority of cases the text can be written to make the link text more meaningful and clear. Let's look at an example of problematic link text from our site that we have been working on. If you're following along in the exercise files, open index-before.html in Firefox, it's located in the 05_06 folder of the chapter five exercise files. This page is the home page of the site we've been working on. If we scroll down the page we can see all the text.

The orange links stand out visually, but because the text of so many of them is repeated, sighted users will have to take more time to locate the link they are looking for. For instance, we have the text click here, click here, underneath the elections 2008 heading at the bottom of the page. And if we scroll back u p to the top of the page, you'll see the same link text, click here and click here in the first two paragraphs of the page. In the sidebar, we have a number of links to news stories, but each of them is linked with the same text, read more, read more, read more.

This is even more problematic for screen reader users than for sighted users. To quickly see the list of links in the page, we can use the Fangs extension for Firefox that we downloaded earlier. Right click or control click on the page to bring up the Context menu and click on the view Fangs option in the menu. In the new window that opens click on the links list tab. At the top of the list are the skip navigation links that we added earlier followed by the main navigation links.

But then you can see that we have a series of read more, click here and other unclear link text. Close the Fangs window now. Now let's look at how that text can be improved. Open the file index-after.html in the 05_06 folder of the chapter five exercise files. This is the same page with the same content, but some of the text has been slightly rewritten to make the link text be more clear and meaningful. In the first paragraph we now have a link that says schedule of free performances and another that says buy discounted tickets to rides.

Both sited and screen reader users can quickly identify these links. In the sidebar, we've simply removed the read more links and instead linked the title of each of the news articles. Again, this is the clearest text that will tell the user exactly what they are going to get if they choose this link. We haven't changed the links that say English and Spanish in the third paragraph on the page. These are still a little vague if they were seen by a screen reader, but rewriting them to include more words would probably be problematic for sighted users. So let's open this page in Dreamweaver.

In design view, scroll down the page, click on the English link. We can set a title attribute on this link to provide extra information about it. Open the tag inspector panel then click on the plus sign by the CSS/accessibility option. You'll see a field for title. Let's type in PDF flier English version. Next, click on the link for Spanish then go into the tag inspector panel and select the title field.

Type in PDF flier Spanish version. Now go to file > save and return to Firefox. Reload the page to save the changes. If we hover over the English and Spanish links, a tool tip will come up with the content of the title attribute. This extra information could also be accessed by screen readers, however it's not guaranteed that a screen reader user will hear this text.

They can change the settings in their screen reader to have title attribute text read to them or not. But in many screen readers, the default option is to have it not read out. If a screen reader user encounters a link that they find confusing, they can use a key combination to bring up the title attribute, even if their default setting is to not read those attributes. Even so the title attribute is not going to be read every time. So make sure that you use it sparingly, write the clearest link text that you can and make sure that any information that is truly essential for understanding the page is on the page as regular text for everyone to read.

Show transcript

This video is part of

Image for Web Accessibility Principles
Web Accessibility Principles

68 video lessons · 25801 viewers

Zoe Gillenwater
Author

 
Expand all | Collapse all
  1. 2m 0s
    1. Welcome
      1m 3s
    2. Using the exercise files
      57s
  2. 33m 15s
    1. What does accessibility mean?
      5m 51s
    2. How does accessibility help your users?
      3m 30s
    3. Experiencing a website via a screen reader
      5m 46s
    4. How does accessibility help you and your clients?
      3m 9s
    5. Overview of Section 508 standards
      5m 51s
    6. Overview of WCAG standards
      6m 4s
    7. Understanding consistency and semantic markup
      3m 4s
  3. 54m 31s
    1. Understanding screen readers and accessibility tools
      6m 12s
    2. Getting accessible browsers
      5m 41s
    3. Customizing Firefox for accessibility testing
      5m 53s
    4. Using custom accessibility toolbars
      5m 28s
    5. Using Fangs and the Color Contrast Analyzer
      5m 30s
    6. Accessibility tools to bookmark
      5m 53s
    7. Using automated accessibility checking tools
      4m 57s
    8. Setting up the JAWS screen reader on Windows
      6m 42s
    9. Using the VoiceOver screen reader on Mac OS X
      5m 52s
    10. Setting Dreamweaver accessibility preferences
      2m 23s
  4. 26m 12s
    1. Avoiding tables for layout
      3m 30s
    2. Using CSS for layout
      2m 40s
    3. Creating a fixed-width layout
      5m 51s
    4. Creating an elastic layout
      3m 51s
    5. Creating a liquid layout
      3m 4s
    6. Customizing a liquid layout
      7m 16s
  5. 1h 6m
    1. Specifying the language
      3m 43s
    2. Setting page titles
      2m 16s
    3. Setting headings and paragraphs
      9m 55s
    4. Styling headings
      9m 56s
    5. Hiding section headings from sighted users
      6m 41s
    6. Styling text for readability
      6m 41s
    7. Ensuring proper color contrast
      6m 36s
    8. Creating text emphasis
      4m 29s
    9. Indicating quotations
      4m 29s
    10. Creating basic lists
      4m 16s
    11. Styling lists
      7m 15s
  6. 1h 15m
    1. Using lists for navigation
      6m 45s
    2. Creating a horizontal navigation bar
      13m 25s
    3. Creating a vertical navigation bar
      11m 44s
    4. Adding skip navigation links
      12m 0s
    5. Hiding skip navigation links
      6m 17s
    6. Proper link text and title attributes
      6m 11s
    7. Opening new windows
      4m 28s
    8. Accessibility limitations of fly-out menus
      6m 30s
    9. Creating an accessible fly-out menu
      8m 38s
  7. 27m 55s
    1. Proper ALT text for navigation images
      4m 57s
    2. Proper ALT text for decorative images
      5m 19s
    3. Adding ALT text to an existing site
      6m 9s
    4. Adding ALT text to image maps
      5m 58s
    5. Describing complex graphics
      5m 32s
  8. 34m 1s
    1. Using tables for data
      3m 0s
    2. Creating header cells
      4m 5s
    3. Adding table captions and summaries
      9m 9s
    4. Styling tables
      5m 19s
    5. Applying header cells to complex tables
      6m 52s
    6. Adding id and headers attributes
      5m 36s
  9. 42m 7s
    1. Understanding form accessibility issues
      3m 7s
    2. Labeling form fields
      6m 9s
    3. Adding fieldsets and legends
      4m 42s
    4. Moving forms out of tables
      3m 44s
    5. Cleaning up a form's appearance
      4m 53s
    6. Aligning labels and fields using CSS
      9m 39s
    7. Indicating required fields
      6m 15s
    8. Dealing with CAPTCHA
      3m 38s
  10. 7m 29s
    1. The Text-Only technique
      3m 21s
    2. The Access Keys technique
      2m 35s
    3. The Tab Index technique
      1m 33s
  11. 18s
    1. Goodbye
      18s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Web Accessibility Principles.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.