Accessibility state - React Native
In React Native you can use the accessibilityState
prop to set the accessibility state of an element. Available roles include disabled
, selected
, checked
, busy
and expanded
, among others.
<Pressable
accessibilityState="disabled|selected|checked|busy|expanded" />