Logical Tab Order

Accessibility Requirement #10
Last Updated: January 16, 2007
Author: Donald F. Evans

Table of Contents

  1. Priority
  2. Description
  3. More Info
  4. Coding/Best Practices
  5. Testing/QA
  6. Search Engine Optimization (SEO)
  7. W3C Guidelines

Priority:

Required


Short Discription:

Actionable elements (web links, form objects such as edit fields or buttons, etc.) MUST appear in a logical tab order. Tab order normally runs left to right, top to bottom. Focus should wrap to the top when the tab key is pressed after the last actionable item is reached.


More Info:

Using the tabindex attribute can help keyboard users quickly navigate to the most important parts of your page

Although the use of H tags now makes for a very nice way to navigate pages, this is only available to users of screen readers and certain browsers like Opera. So, using tabindex is another way to make navigation easy for keyboard users.

Typically, the tab key will take a user from one link to the next. If you use tabindex, the tab key will take you to the tabindexes first and then normal tabbing will resume allowing readers to navigate the page's remaining links in the order they appear.

Changing the tab order is easy. We merely assign a tabindex value to any item we want to prioritize.

  • <input type="button" tabindex="1">

    Coding:

    Best Practices:
    Using Taborder and Tabindex to Create Keyboard Accessibility

    Guidelines:

    Notice the Search box has a tab order of 107, placing it at the bottom of the tab order page. This would be a good place to use tabindex to explicitly set the tab order.

    Screen Shot shows the search field our of tab order.


    Testing:

    Using the AIS Toolbar to Test Tab Order you should select "Show Tab Order from the "Structure" Menu Tab.

    Screen shot shows the menu item "Show Tab Order" under the "Structure" tab in the AIS Toolbar.

    AIS Toolbar Results shows the tab order in red. Notice the search field is numbered 107, but is at the very top of the page. This is not ordered well.

    Screen shot shows the the results of the AIS toolbar test with each tab stop numbered in red.


    SEO:

    No Known SEO Issues.


    W3C:

    HTML Techniques for Web Content Accessibility Guidelines 1.0
    Keyboard access
    Keyboard access to forms
    Link text

    Back to top