Common Desktop Environment: Style Guide and Certification Checklist

Keyboard Focus Model

 

n/a 

 

 

Required 

2-1: 

Only one window at a time has the keyboard focus. The window that has the focus is highlighted. Within the window that has the keyboard focus, only one component at a time has the focus. 

The keyboard focus determines which component on the screen receives keyboard events. This rule prevents confusion about which window and component have the focus. 

Required 

2-2: 

When your application uses an explicit focus policy, pressing BSelect does not move focus to a component that is not traversable or does not accept input.  

An explicit focus policy requires the user to explicitly select which window or component receives the keyboard focus. Generally, the user gives the focus to a window or component by pressing BSelect over it. However, this policy must not allow the user to give focus to a component that is not traversable or does not accept input. 

Required 

2-3: 

When your application uses an explicit focus policy, the component with the keyboard focus is highlighted by a location cursor. 

The user needs to know the location of the keyboard focus to be able to control an application.