Slide 21 of 44
Keyboard Navigation (managing focus) basics
- Tabindex= "-1" Can set focus on an element without adding to tab order
- Tabindex="0" Place focusable elements in the tab order in document order
- Tabindex = "> 0" Same as today's tabindex
- Tabindex changes supported in IE, Opera 9, and FF 1.5 or higher
- Supported by all renderable elements
- ARIA aria:activedescendant="child id" tells the at what child is currently active for the focused widget
- Example: a "grid" (spreadsheet) would indicate which "gridcell" has focus
- Use when don't want to manage tabindex for lots of children (spreadsheets, listbox, menus)