Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AccessibilityState

Options for defining the state of an AccessibilityNode to screen readers.
Read time 1 minuteLast updated 6 days ago

Definition

[Flags]public enum AccessibilityState : byte

Remarks

You can use the values in this enumeration to set the _state. This property enables screen readers to describe the state of interactive elements, such as whether a checkbox is checked or whether a button is disabled.
If the visual element that the node represents has a state that is not represented by an enumeration option, use the default value, AccessibilityState.None, and provide information about the node's current state in properties such as the _value and _hint.
Additional Resources:

Fields

Value

Description

DisabledThe visual element represented by the accessibility node is currently disabled and does not respond to user interaction.
ExpandedThe visual element represented by the accessibility node is currently expanded, such as an expanded dropdown list or menu.
NoneThe accessibility node is not in a predefined state.
SelectedThe visual element represented by the accessibility node is currently selected, such as a selected table row or a selected button in a segmented control.