New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Web Accessibility Principles
Illustration by

Hiding skip navigation links


From:

Web Accessibility Principles

with Zoe Gillenwater

Video: Hiding skip navigation links

>> If you can it is best to leave your skip NAV links visible. Remember that sighed keyboard users rely on them as well and hidden skip NAV link does them little good because although it will be the first thing that they tab to they will not know that they tabbed to anything because the link will be invisible. However I know that some clients may refuse to let you put a visible skip NAV link at the top of there site or you may be working on accessibility features to an existing page and don't have a good place to put the skip NAV link that fits with your existing design.
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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Web Accessibility Principles
6h 10m Appropriate for all Oct 16, 2007

Viewers: in countries Watching now:

Accessibility on the web has been an issue for over a decade, and it remains a crucial--but often overlooked--element of web design. Instructor Zoe Gillenwater explains the concept of accessibility as it applies to the web, and describes how it affects the audience. She also covers how to set up accessibility testing, and how to apply accessibility principles to new and existing sites using standards-compliant markup and CSS. Exercise files accompany the tutorials.

Topics include:
  • Understanding Flex programming languages
Subjects:
Web User Experience Accessibility
Author:
Zoe Gillenwater

Hiding skip navigation links

>> If you can it is best to leave your skip NAV links visible. Remember that sighed keyboard users rely on them as well and hidden skip NAV link does them little good because although it will be the first thing that they tab to they will not know that they tabbed to anything because the link will be invisible. However I know that some clients may refuse to let you put a visible skip NAV link at the top of there site or you may be working on accessibility features to an existing page and don't have a good place to put the skip NAV link that fits with your existing design.

Hiding the link or links is one way you can improve the accessibility at least part way and not disturb the design. If you are following along with the exercise files, open visitors.html in Dreamweaver, its located in the 0505 folder of the chapter five exercise files. We can use the same off left positioning technique that we are currently using on the main navigation, section navigation and footer headers. To pull the skip NAV links off the left side of the page and out of view. In the CSS styles panel scroll through the alt rules listings to the bottom and select the skip LINKS A rule.

Click on the add property link in the properties pane type position and then in the menu adjacent to that click the arrow and chose absolute. Click on add property again and type margin-left in the field to the right type -9000, leave pixels selected as your unit of measurement, hit enter or return to accept the rule. To see if this has worked we need to preview it in a browser.

Click on the globe icon in the document toolbar and choose preview in Firefox, click yes to save the changes to the page. As you can see the skip NAV links are no longer visible. There's a compromise approach that we could take to hiding the skip NAV links. We could hide it from visual users but make it visible when it is tabbed to. This would help keyboard users who are left out when we moved the skip NAV link off of the screen. Close Firefox and return to Dreamweaver. When you tab to a link it receives focus so we need to add CSS rules that move the A element back on screen when it receives focus, click on the new CSS rule button on the bottom of the CSS styles panel, leave advance selected as the selector type and clear out the default text in the selector field, type #skiplinks A:focus, #skiplinks A:active.

Leave this document only selected for the define in option and click OK. We first need o change he left margin value back to a positive number to get the links to appear on screen when they receive focus. Click on the box category, uncheck the same for all box under margin and in the left field type 50 and leave pixels as the unit of measurement.

Next we need o make the A elements block elements and give them a width because absolute positioning makes every word with in the link wrap to a new line. We want them all to be on a single line for each link. So in the width field enter 11 and in the unit of measurement beside it choose M's. This will let the width adjust to the font size of the user, then click on the block category select the display menu and choose block, click OK.

When the skip LINKS are tabbed to and appear back on the screen we can no longer have them appear on the right side of the screen because we have no way of knowing the correct margin value to make them appear there, so we need to remove the absolute positioning rules from the skip LINKS DIV that we used in the previous movie. In the CSS styles panel choose the skip LINKS rule from the listing of all rules. Click on the bottom property and click on the trash can to delete it, then the position absolute property and the trash can to delete it, and finally click on the on the right property and the trash can icon to delete it.

Next we'll modify the style for the skip LINKS list item rule. Click on the skip LINKS LI rule in the all rules listings of the CSS styles panel. Click on the add property link type position and then in he menu next to it choose absolute as the value. This will make it so that as each link displays on he page one by one they each take up the same spot. Next click on the display in line deceleration then the trashcan icon at the bottom of he panel to delete it, it's no longer needed with our new styles.

We also can delete the padding left property. So click on that and then the trash can icon. This should be all the changes we need. So let's preview in Firefox. Click on the globe icon in the document toolbar and choose preview in Firefox. Click yes to save changes to the page. As we saw before the links are not visible however let's try tabbing to them, hit the tab key on your keyboard, the first link skip to main content immediately appears with the focus dotted outline around it.

Hit the tab key again, now the skip to section navigation link takes its place, since we no longer have focus on the skip to main content link it has again disappeared so we only see on skip link on the page at a time. Just as before we can hit enter or return on the keyboard to active that link and jump down the page. While this is not an ideal scenario hidden skip navigation links at least keep the links present in the HTML for screen readers to access.

And using the CSS from this movie you've seen that you can make the hidden links available to keyboard users as well.

There are currently no FAQs about Web Accessibility Principles.

 
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.
Upgrade now


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 Upgrade now

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

Notes cannot be added for locked videos.

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.