Expanded
The visual element represented by the accessibility node is currently expanded, such as an expanded dropdown list or menu.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
Expanded = 4
Remarks
If this role is set on a node with the role AccessibilityRole.Dropdown, the screen reader announces the node as "expanded". Otherwise, it announces the node as "collapsed".
Notes
-
This state is only supported for nodes with the role AccessibilityRole.Dropdown.
-
On macOS, if the role AccessibilityRole.Dropdown is unset from a node, the screen reader continues to announce the expanded/collapsed state of the node if its new role is compatible with this state. This is a platform limitation.
Platform support: This state has no effect on iOS.