Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

AccessibilityState

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Options for defining the state of an AccessibilityNode to screen readers.


You can use the values in this enumeration to set the AccessibilityNode.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 AccessibilityNode.value and AccessibilityNode.hint.

Additional resources:

Properties

Property Description
None The accessibility node is not in a predefined state.
Disabled The visual element represented by the accessibility node is currently disabled and does not respond to user interaction.
Selected The visual element represented by the accessibility node is currently selected, such as a selected table row or a selected button in a segmented control.
Expanded The visual element represented by the accessibility node is currently expanded, such as an expanded dropdown list or menu.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961