User Interface Elements
The user interface domain elements in DITA are used to describe the user interface of a software program.
uicontrol (user interface control)
The uicontrol element is used to mark up the names of entry fields, buttons, menu items, and other components that enable the user to control the interface.
Example: Click Submit to complete your entry.
User interface controls can also appear inline with other formatting such as bold text, italic text, and codeph. For example, select Enable Advanced Mode before configuring the deployment profile.
This example intentionally contains a very long control label to test wrapping and spacing behavior in Portal and PDF outputs: Generate Customer-Facing Deployment Validation and Publishing Report.
wintitle (window title)
The wintitle element can be used to mark up the names of windows panes, dialog boxes, wizard titles, and similarly grouped items.
Example: Use the Installation Wizard interface to complete your installation.
Window titles are commonly referenced alongside procedural instructions. Open the Publishing Configuration dialog box and review the available deployment settings.
Some interfaces display long or dynamically generated window titles such as Enterprise Content Publishing Administration and Validation Console. This example helps validate wrapping and responsive layout behavior.
menucascade (menu cascade)
The menucascade element contains one or more uicontrol elements to enable you to document a series of menu choices.
Example: Click .
Menu cascades are often used for navigation paths within desktop applications. Select to manage deployment configurations.
This example intentionally uses a longer menu path to test separators, wrapping, and spacing behavior: .
- Short menu path:
- Nested administrative path:
shortcut (shortcut)
The shortcut element identifies a keyboard shortcut or window action. The shortcut element occurs inside the uicontrol element.
Example: Use cmd + c to copy the text.
Keyboard shortcuts may differ by operating system. Use Ctrl + S on Windows or Cmd + S on macOS to save your changes.
| Action | Shortcut |
|---|---|
| Copy selected content | Ctrl + C |
| Paste copied content | Ctrl + V |
| Open search dialog | Ctrl + F |
| Open publishing dashboard | Shift + Alt + P |
Screen
The screen element is used to represent text-based textual online panels, text consoles, or other text-based user interface components.
Last login: Mon Jun 11 11:06:33 on ttys001
user@host:~$ dita --build
Building output...
[dita-ot] Processing completed successfully.
Combined User Interface Examples
The following examples combine multiple user interface domain elements in a single instruction flow.
- Open the Deployment Manager window.
- Select .
- Click Browse and locate the appropriate deployment package.
- Press Enter to confirm the selection.
- Review the summary information in the Publishing Validation Results dialog box.
Combining uicontrol, menucascade, wintitle, and shortcut elements in the same topic helps validate inline alignment, spacing, wrapping, and font styling across multiple output types.