<menucascade>
A menu cascade is a sequence of menu choices in a nested menu, such as File > New.
Rendering expectations
Processors SHOULD separate the contents of the
<uicontrol>
elements in some manner to represent the menu cascade.
For example, a visual rendering could separate each UI control
with an arrow character.
Specialization hierarchy
The <menucascade>
element is specialized from
<ph>
. It is defined in the user-interface domain module.
Content model
One or more
<uicontrol>
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
Example
This section is non-normative.
The following code sample shows how the <menucascade>
element can be
used to identify a series of menu choices that enable users to switch to
dark mode in an editor:
<menucascade>
<uicontrol>View</uicontrol>
<uicontrol>Editor layout</uicontrol>
<uicontrol>Display mode</uicontrol>
<uicontrol>Dark</uicontrol>
</menucascade>