Common Desktop Environment: Style Guide and Certification Checklist

Default Activation

 

n/a 

 

 

 

Required 

5-14: 

If your application uses default push buttons in a window, the current default push button is highlighted. When the focus is on a push button, its action is the default action, and the push button shows default highlighting. If the default action in a window varies, some push button always has default highlighting, except when there is no current default action. 

Placing emphasis on the default push button in a dialog box provides the user with a visual cue about the expected reply to the dialog box. 

Required 

5-15: 

When focus is in a window with a default action and an activatable menu does not have the focus, the Enter key and Control+Return invoke the default action. If focus is in a component other than multiline text or an activated menu, Return also invokes the default action. These actions have no other effect on the component with the focus, unless the default action has some effect on that component.  

These rules ensure that the means of invoking a default action are consistent across applications. 

Required 

5-16: 

Except in the middle of a button motion operation, pressing the Cancel key anywhere in a dialog box is equivalent to activating the Cancel push button in the dialog box.  

The Cancel key provides a uniform means of canceling dialog box from the keyboard.