> Note: accessibilityComponentTypewill soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead.
类型
必填
AccessibilityComponentTypes
否
accessibilityHint
An accessibility hint helps users understand what will happen when they perform an action on the accessibility element when that result is not obvious from the accessibility label.
类型
必填
string
否
accessibilityLabel
Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.
类型
必填
node
否
accessibilityRole
类型
必填
AccessibilityRoles
否
accessibilityStates
类型
必填
array of AccessibilityStates
否
accessibilityTraits
类型
必填
AccessibilityTraits, ,array of AccessibilityTraits