Practice 1
Focus order
Tab through a small task flow and compare visual order with keyboard focus order.
LESSON 17 OF 20
Custom controls must expose the same complete contract that users receive from strong native controls: meaning, state, operation, and predictable focus.
Evaluate keyboard paths, focus order, control semantics, state, relationships, and recovery.
Native elements provide semantics, focus, and keyboard behavior that custom components otherwise have to recreate and maintain.
Focus identifies the current interaction location. Selected, checked, expanded, and current describe state. A useful control exposes both correctly.
Test entry, movement, activation, Escape behavior, and focus return. A control is not accessible merely because Tab eventually reaches it.
Tabs and panels, menu buttons and menus, disclosures and controlled content, and help text and fields all need programmatic relationships.
A custom control is complete only when its name, role, state, relationships, focus behavior, and keyboard operation work together.
Answer every question, then use the forward lesson button to record this lesson as complete. The check is not scored and can be repeated.