3.11 Create a logical tab order through links, form controls, and objects
Contents
WAI Checkpoint 9.4
Full WAI text: "Create a logical tab order through links, form controls, and objects." When the "TAB" key is used to move the cursor, the cursor's movement should follow the structural order of the page elements so the user can select and activate them. It should be possible to use the "TAB" key to make the cursor jump between page elements like form fields, buttons and other controls, links, pop-out menus or more complex interactive features.
Rationale
Many users rely on the keyboard as their primary device for navigating and interacting with websites. Many laptop and notebook users, screen reader users and users with limited dexterity favour keyboard navigation. Internet kiosks don't always provide the user with a mouse.
If a user fills in an online form where the logical tabbing order is incorrectly defined, they could easily submit the form without filling in all the required fields because the cursor jumps to the "submit" button before they are finished.
Failing to provide a logical tab order is highly confusing and makes the task of navigating and using websites very difficult, especially for users of screen readers who may fail to notice that the cursor is not following the correct order.
Directions and Techniques
Specify a tabbing order among elements with the "tabindex" HTML attribute
This is the HTML tag required to specify the tabbing order. See WAI recommended techniques for specifying a logical tab order
How you could check for this:
Test the tabbing order with the keyboard
Open a web page and press the tab key. Each time you press the key you will see that the cursor moves and highlights a link, or a control element. Follow the progress of the cursor and ensure that it corresponds to the logical structure of the page. It is important to test forms as well as content pages.
