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

AccessibilityState.Selected

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

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.


Platform-specific behavior

For nodes with a role other than AccessibilityRole.Toggle:

- Android: If this role is set on a node, the screen reader announces the node as "selected". - iOS: If this role is set on a node, the screen reader announces the node as "selected". - macOS: If this role is set on a node, the screen reader announces the node as "selected". - Windows: If this role is set on a node, the screen reader announces the node as "on".

For nodes with the role AccessibilityRole.Toggle, see that role's documentation.

Notes

- On macOS, this state is only supported for nodes with the role AccessibilityRole.Button, AccessibilityRole.Toggle or AccessibilityRole.Dropdown. - On Windows, this state is only supported for nodes with the role AccessibilityRole.Button or AccessibilityRole.Toggle