Formatting names of UI elements
When referring to any UI element by name, put its name in boldface, using the
<b> element in HTML or
** in Markdown. This includes names for
buttons, menus, dialogs, windows, list items, or any other feature in the UI that has a visible
Don't make an official feature name or product name bold, except when it directly refers to an element in the UI that uses the name (such as a window title or button name).
In most cases, follow the capitalization as it appears in the UI. However, if the UI is inconsistent or the label is all uppercase, use title case.
Not recommended: In the New Project window, select "New Activity", and then click the "Next" button.
Recommended: In the New Project window, select the New Activity checkbox, and then click Next.
Terminology and usage
A user interface can contain a variety of UI elements. In general, focus on the feature and its functionality, not the UI element. If you think it adds clarity for the reader, add the name of the UI element. For example, both of the following sentences are valid:
Recommended: Go to File > Tools.
Recommended: In the File menu, click Tools.
Following are some definitions of the terms to use when referring to UI elements.
Windows, dialogs, and panes
Most often, a window is the entire application window in a desktop environment. However, it can also refer to modular application elements that you can open and close. For example, in Android Studio, several windows are available in the View > Tool Windows menu.
Not recommended: In the MyApp page, click Edit.
Recommended: In the MyApp window, click Edit.
A dialog is a smaller window that is usually detached from the main application window and appears in front of the window.
Not recommended: In the Welcome pop-up window, click OK.
Recommended: In the Welcome dialog, click OK.
A pane is similar to a window inside the application—it's a distinct rectangular region of a window. However, a pane is tightly coupled to the other UI regions around it and usually cannot be hidden on its own, whereas a window is distinctly separate and can be hidden. Do not use terms such as panel, section, area, or column to refer to a pane.
Not recommended: In the Create service account panel, click New.
Recommended: In the Create service account pane, click New.
In a desktop application, the menu bar appears at the top of the window or the top of the screen; it's a set of menus (such as File or Edit), each of which is a set of related commands and/or nested submenus.
To refer to an item in a menu, use the term "command," not "choice," "menu item," or "option." Exception: if you're documenting how to build an interface, you may use "menu item."
To refer to a menu, use the form "the Label menu."
To tell the reader where to find a command in a menu or submenu, use arrow (>) notation.
Recommended: Select View > Tools > Developer Tools.
It's okay to use just one
<b> element that includes the
entire sequence. Put a nonbreaking space before each greater-than sign.
One advantage of this notation is that it lets you give the menu name before the item name (the same order in which the user encounters them), thus avoiding phrases like "Select Open from the File menu."
However, this notation applies only to menu items. Don't use it to describe a combination of different UI elements.
Not recommended: Select MyApp > Preferences > Languages > + > CSS.
Recommended: Select MyApp > Preferences and then select the Languages preference pane. Below the Custom Language Preferences table, click Add and select CSS.
A toolbar is a set of buttons for common user actions. A toolbar button that includes a menu is called a menu button. Refer to the toolbar by name if you think the user needs help finding a button.
Recommended: In the Dashboard toolbar, click Edit.
Recommended: Click Edit.
Buttons and icons
A button initiates an action when clicked (or tapped, in the case of a touchscreen). To refer to a button, use the button's label.
Not recommended: Click the "OK" button.
Recommended: Click OK.
An icon is a symbol or image that represents an object or a function. An icon
can be a button as well. If the button includes an icon, write the name of the button as shown in
the tooltip, and add the button icon immediately after the name. If you are unsure of the name of
the icon, inspect the element to use the
aria-label. For more information, see
Using an aria-label.
If a button with an icon doesn't include a tooltip, submit a bug report requesting that a tooltip be added. Tooltips are crucial for accessibility, and for documentation and discoverability in general.
Not recommended: Click the icon.
Recommended: Click Add .
If a UI element name ends with an ellipsis (...), leave out the ellipsis.
Not recommended: Click Browse ....
Recommended: Click Browse.
Don't use directional language to orient the reader, such as above, below, or right-hand side. This type of language doesn't work well for accessibility or for localization reasons. If a UI element is hard to find, provide a screenshot.
Not recommended: In the left-side panel, click the button with three lines.
Recommended: Click Menu menu.
A tab is a navigation element that looks like a file tab. To refer to a tab, use the form "the Label tab."
Recommended: Select Tools > Options, and then click the Edit tab.
A text box is a box that the user can type in. To refer to a text
box, use the form "the Label box." Format the text that the
user types using the
<kbd> element in HTML, or
using code formatting (monospace) in other markup.
Recommended: In the <b>Owner</b> box, enter your name.
Recommended: In the <b>Name</b> box, enter <kbd>wsfc-1</kbd>.
Recommended: In the **Name** box, enter `wsfc-1`.
List box, combo box, and spin box
A list box is a box that offers the user a list of items. To refer to a list box, use the form "the Label drop-down list" or "the Label box," whichever is clearer.
Recommended: In the Item drop-down list, select Desktop.
A combo box is a combination of a text box and a list box. To refer to a list box, use the form "the Label box." To refer to entering a value into a combo box, use the verbs "type or select" or "enter."
Recommended: In the Font box, type or select the font you want to use.
A spin box is a box that lets the user choose a value by clicking arrows or by typing. To refer to a spin box, use the form "the Label box." To refer to entering a value into a spin box, use the verb "enter."
Recommended: In the Font Size box, enter a font size.
A checkbox is a small box that indicates whether an option is on or off. To refer to a checkbox, use the form "the Label checkbox." Be wary of using the verb "check," which can be ambiguous; it's often best to use "select" instead.
Recommended: Select the Automatically check for updates checkbox.
Recommended: Clear the Bookmarks checkbox.
A radio button is a small button used to choose one item from a group of mutually exclusive options. To refer to a radio button, use the radio button's label, or refer to the group of buttons by its label.
Recommended: Click Do not remember passwords.
Recommended: Click your preferred Startup mode.
Pressing and typing keyboard keys
To indicate that the user should press or type a given keyboard key or
combination, use the
<kbd> element. If you're working
with non-HTML markup, use monospace formatting, which is how
<kbd> renders. If you're working in Markdown, enclose the
key name in backticks (
To refer to a keyboard key, use the key's name. If that's ambiguous, use the form "the Key key."
Recommended: Press Esc.
Recommended: Press the Esc key.
Spell out the names of modifier keys such as Command, Control, Option, and Shift. Don't use symbols for those keys. To refer to a key combination, use the form "Modifier+Key."
Recommended: Press Control+V.
When the user may be on either Windows or Mac, put the Mac shortcut in parentheses after the Windows shortcut.
Not recommended: To copy, press Ctrl+C (⌘+C).
Recommended: To copy, press Control+C (or Command+C on Mac).
To refer to a key or combination that uses the Shift key, use the form "Modifier+Shift+Key."
Recommended: Press Control+Shift+?.
Spell out the names of characters that could be confusing in a keyboard shortcut, such as comma, hyphen, period, and plus.
To refer to a keyboard shortcut, use either "keyboard shortcut" or "key combination."
To refer to pressing a key or combination to cause an action to occur, use the verb "press." To refer to typing a key or combination as part of text, use the verbs "enter" or "type."