Posts
-
tab order and tabindex
A keyboard only user, primarily uses
tabkey to reach the actionable controls in a web page. The order in whichfocusableelements are focused viatabpress, is calledtab order. When a user pressestab, browser focuses the nexttabableelement in thetab order. -
Keyboard Accessibility and Lost Focus
Visual indicator is must for a keyboard user, to identify an active element, so that the user can press the corresponding desired keys, to interact with the active element.
For example,
- pressing
spaceon acheckboxtoggles thecheckedstatus - pressing down arrow on a
selectdisplays theoptionslist - pressing
space/enteron a button activates it.
Without a visual indicator a keyboard only user has no clue to identify the active element.
- pressing
-
Show more/less actionable list items
Hide the extra items completely, if you mean it. Otherwise they might be avialable to keyboard only and screen reader users, even though not available for mouse only users.
-
Display focus-indicator for styled radio and checkbox
When styling
radio buttonsandcheckboxesby hiding them visually and using pseudo-elements, along with pseudo-classes, please ensure to add custom focus indicator.Otherwise, a user accessing the user interface via keyboard, has no idea, what is the active element/field.
- Focus Indicator - Browser(Chrome) Extension