<shortcut>

The <shortcut> element identifies a keyboard shortcut for a menu or window action. This element is part of the DITA user interface domain, a special set of DITA elements designed to document user interface tasks, concepts and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword ui-d/shortcut

Example

This section is non-normative.

This example:

<menucascade>
 <uicontrol>Start</uicontrol>
 <uicontrol><shortcut>P</shortcut>rograms</uicontrol>
</menucascade>

May produce output similar to the following: Start > Programs

Content model

(Text | <text>)*

Contained by

<uicontrol>

Zero or more of the following
  • Text
  • <text>

Contained by

  • <uicontrol>

Inheritance

+ topic/keyword ui-d/shortcut

The <shortcut> element is specialized from <keyword>. It is defined in the ui-domain module.

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.