Dreamweaver 8 Design and Construction (OReilly Digital Studio)
17.6. Setting the Tab Index for Links
In Chapter 16, you looked briefly at the tab index of page elements, and you learned that the tab index establishes the order in which the elements are selected when the visitor presses the Tab key. This is an important accessibility feature for those who don't or can't browse your web site with a mouse.
It's best to set the tab index for all the selectable page elements at the same time, when the page is either finished or close to being finished, so the information here comes a bit out of sequence. Nevertheless, to set the tab index for a link, click anywhere inside the link on the document window, go to the Tag Selector, choose the <a> tag, and then go to the Attributes panel as shown in Figure 17-28, which is also known as the Tag Inspector. If you don't see the Attributes panel, choose Window Figure 17-28. Setting the tab index for a link in the Tag Inspector
Look under the CSS/Accessibility category for the tabindex attribute. Then click in the field to the right of it, and supply its value. Remember from Chapter 16 that the tab-index value determines the order in which the element is selected, so a tab index of 1 makes the link the first element selected when the visitor presses the Tab key, while a tab index of 75 makes it the seventy-fifth element selected.
|