Use buttons to allow users to perform an action from a dialog box. Menus typically include actions that are associated with a screen.

Users can perform the following actions with a button:

User goal

Action using the navigation keys

Action using a touch screen

Action using a physical keyboard

Highlight a button.

Move a finger on the trackpad.

Touch the button lightly.

Perform an action.

Click the trackpad.

Tap the item.

Press the Enter key.

This screen shows an example of a button.

Best practice: Implementing buttons

  • Avoid using buttons on an application screen. To provide actions that are associated with a screen, use the application menu instead. The menu is available to users immediately, regardless of the position of the cursor on the screen. Buttons are static and require users to highlight a button to perform the associated action. If you use buttons, include menu items for the actions in the application menu as well. On BlackBerry devices with a touch screen, you can use buttons for critical actions.
  • Use check boxes for options such as turning on or turning off a feature.
  • For the default button, use the button that users are most likely to click. Avoid using a button that is associated with a destructive action as the default button.

Guidelines for labels

  • Use clear, concise labels.
  • Use one-word labels where possible.
  • Use verbs for labels that describe the associated action (for example, "Cancel," "Delete," "Discard," or "Save"). If necessary, include more descriptive text elsewhere on the screen (for example, in an application message).
  • Avoid using the labels "Yes" and "No."
  • Avoid using punctuation in labels.

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus