Namespaces

Enumerations

enum class Action : uint32_t
Name Value Comments
kDefault 1u

The default action associated with the element.

kSecondary 2u

The secondary action associated with the element. This may correspond to a long press
(touchscreens) or right click (mouse).

kSetFocus 3u

Set (input/non-accessibility) focus on this element.

kSetValue 4u

Set the element's value.

kShowOnScreen 5u

Scroll node to make it visible.

kDecrement 6u

Decrement a slider by one step value. The step size is defined by the
owner of the semantic node that executes this action. For example, a
volume slider may want to make steps 1, 2, 3, while a time slider may
want to skip 30 seconds each step change.

kIncrement 7u

Increment a slider by one step value. The step size is defined by the
owner of the semantic node that executes this action. For example, a
volume slider may want to make steps 1, 2, 3, while a time slider may
want to skip 30 seconds each step change.

Represents actions that can be applied to Nodes.

Defined at line 20 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

enum class Role : uint32_t
Name Value Comments
kUnknown 1u

Role used to represent elements which role is not currently supported.

kButton 2u

Something on screen that can be clicked/activated, that has a single function.

kHeader 3u

Header text, e.g. something tagged
<
h1
>
in HTML.

kImage 4u

An image or graphic.

kTextField 5u

A field that can receive text input.

kSlider 6u

A slider, e.g. a volume slider or a time slider of a video.

kLink 7u

A link, e.g. a link on a webpage.

kCheckBox 8u

A check box that can be toggled.

kRadioButton 9u

A radio button that selects an option among a group of options.

kList 10u

Role used to represent lists.

kListElement 11u

Role used to represent an element in a list, including its marker and
its content. For example, a element tagged
<
li
>
, or an element with the
ARIA listitem role.

kListElementMarker 12u

Role used to represent a list marker (e.g. a bullet point, number, roman
numeral, etc.).

kStaticText 13u

Role used to represent immutable text.

kToggleSwitch 14u

Role used to represent toggle switch.

kTable 15u

Role used to represent a table of elements.

kGrid 16u

Role used to represent a grid. For example, an element with the
aria-grid role.

kTableRow 17u

Role used to represent the row of a table.

kCell 18u

Role used to represent the cell of a table or grid.

kColumnHeader 19u

Role used to represent a column header. For example, an element with
the html tag
<
th
>
.

kRowGroup 20u

Role used to represent an aria-rowgroup-like element.

kParagraph 21u

Role used to represent a paragraph of text.

kSearchBox 22u

Role used to represent a paragraph of text.

kTextFieldWithComboBox 23u

Role used to represent a paragraph of text.

kRowHeader 24u

Role used to represent a paragraph of text.

Represents a role of an element on a UI.

Defined at line 68 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

enum class LabelOrigin : uint32_t
Name Value Comments
kUnitialized 1u

The node does not have a label yet.

kAttribute 2u

An attribute of this element in the runtime UI explicitly sets its
label. For example, an element with aria-label.

kAttributeEmpty 3u

An attribute of this element in the runtime UI explicitly sets its
label to be empty.

kCaption 4u

This label serves as the caption for a table-like element. Because some
assistive technology have special modes to deal with tables, a runtime
should mark its label with this type of origin so that users know what
the table is about when they navigate in the table mode. For example,
a
<
caption
>
html tag sets the label.

kContents 5u

This node receives its label from the contents present in the
application. For example, text from a web page becomes the label of
this node.

kPlaceholder 6u

An element that can receive user entered value and has a suggested
input. For example, the placeholder attribute on an html input field.

kRelatedElement 7u

Another element provides the label for this element. For example, via
aria-labeledby.

kTitle 8u

This element's label is represented by a visual tooltip. For example,
as if from a
<
title
>
html tag.

kValue 9u

The label comes from an user-entered value.

The possible origins of a label.

Defined at line 162 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

enum class CheckedState : uint32_t
Name Value Comments
kNone 1u

Used when no data is entered or the element is not a check box.

kChecked 2u

Checked

kUnchecked 3u

Unchecked

kMixed 4u

Indeterminate state

Represents the state of a UI checkbox.

Defined at line 220 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

enum class ToggledState : uint32_t
Name Value Comments
kOn 1u

Toggle switch is on.

kOff 2u

Toggle switch is off.

kIndeterminate 3u

Toggle switch is in Indeterminate state.

Represents the state of a UI toggle switch.

Defined at line 252 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

enum class EnabledState : uint32_t
Name Value Comments
kEnabled 1u

Element is enabled.

kDisabled 2u

Element is disabled.

kIndeterminate 3u

Indeterminate state.

Represents the enabled/disabled state of an element.

Defined at line 281 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/common_types.h

Records