s.ui.control

Table of Contents

Syntax #

s.ui.control

Purpose #

The s.ui.control annotation is used to tag a span element as being an interactable component of a program’s user interface. This annotation is used to identify the UI component in a step, concept, or other presentation of a software interface.

Example #

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

Note: In this example, the relevant spans are “CREATE NEW FILE” and “CREATE”.

 

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

The following is the DITA XML output for the rule:

<title>Opening a New File in GOS</title>

<taskbody>

<prereq><p>To open a new file in GOS:</p></prereq>

<step>

<cmd>Select <uicontrol>CREATE</uicontrol>.</cmd>

</step>

</steps>