Version: 2023.2

AccessibilityRole

enumeration

切换到手册

描述

Describes the role of an accessibility node.

变量

NoneThe accessibility node has no roles.
ButtonThe accessibility node behaves like a button.
ImageThe accessibility node behaves like an image.
StaticTextThe accessibility node behaves like static text that can't change.
SearchFieldThe accessibility node behaves like a search field.
KeyboardKeyThe accessibility node behaves like a keyboard key.
HeaderThe accessibility node behaves like a header that divides content into sections (for example, the title of a navigation bar).
TabBarThe accessibility node behaves like an ordered list of tabs.