Common Desktop Environment: Style Guide and Certification Checklist

General Menu Design Rules

As you design your application-specific menu panes, follow these guidelines to ensure maximum usability and accessibility.

Recommended 

ce: 

If the selection of a menu item will result in the user being queried for more information, such as through the posting of a file selection dialog, the menu item should be followed by an ellipsis ("..."). This requirement does not apply to menu items that will result in a simple warning or confirmation dialog being displayed. 

The use of an ellipsis helps set the user's expectation for the behaqvior of the interface. When they select an item without an ellipsis, they know that they can expect an immediate result. 

Recommened 

cf: 

Menus accessed from within your application contain at least two menu items. 

No menu should contain only one item. If your application provides a menu with only one item, you should consider moving that item into another menu or making it a button within the window. The longer the menu, the more effort is needed for the user to access choices near the bottom. If your menu has a lot of choices, break it up into two or more menus, or group some items into submenus. 

Optional 

cg: 

Submenus accessed from within your application contain at least three menu items. 

Submenus may be used to group like items into a single secondary cascading menu where putting the items into the primary cascadingd menu would make it too long. However, if your submenu contains only two options, you should strongly look at removing the secondary cascadingd menu and putting the options into the primary cascadingd menu since it takes more effort for the user to access options located in a submenu. 

Optional 

ci: 

If your application contains a menu that is expected to be accessed frequently, then a tear-off menu option is provided in that menu. 

The user should be able to tear-off frequently accessed menus so that these can remain posted on the desktop as the user uses your application. 

Required 

6-14: 

If your application uses a tear-off button in a menu, the tear-off button is the first element in the menu. 

Optional 

cj: 

Provide keyboard accelerators where appropriate. 

If specific menu items within a menu are expected to be used frequently, not the menu as a whole, then your application provides keyboard accelerators for these items and displays the keyboard accelerators in the associated menu to the right of the item to which they relate. You should not use accelerators that have already been defined for system functions - refer to Appendix A, Keyboard Functions, for a list of pre-defined key assignments. 

Recommended 

ck: 

The labels used for items in the menu bar do not appear as options within the menus themselves. 

The names of items in the menu bar serve as titles for the options the menu contains. The name of the menu bar item should provide a term that accurately describes the concept of the category relating all of the menu items and should not be used as the name of any item within the menu itself. 

Required 

cl: 

Any menu choice that is not currently an appropriate selection is dimmed (insensitive). 

Dimmed controls cannot be activated by the user and should appear only when the inactive state is short-term (that is, there is something the user can do within the application or the desktop environment to make the control become active). When the control is persistently inactive (because of the current configuration of the application or system, or a particular set of companion software is not currently installed), the control should be removed from the menu rather than be dimmed. 

Required 

6-15: 

All menus are wide enough to accommodate their widest elements.