s.ui.shortcut

Table of Contents

Syntax #

s.ui.shortcut

Purpose #

The s.ui.shortcut annotation is used to tag a span element as being a shortcut key that can be used instead of a menu selection.

Example #

The following is an example of a time when you might want to use the annotation

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<step>

<cmd>Select <uicontrol><shortcut>C</shortcut></uicontrol><uicontrol>REATE NEW FILE</uicontrol>.</cmd>

</step>