I don't seem to be able to interact with gesture handler buttons using the accessibility tools on Android.
When you enable TalkBack on Android, there are 2 issues with the gesture handler's button:
accessibilityRole doesn't seem to be applied. talkback doesn't announce it as a buttonIn this snack, I added a button with TouchableNativeFeedback where these two work as I expect, and button from GestureHandler where they don't work:
https://snack.expo.io/@satya164/gesture-handler-button-accessibility
Fix:
<RectButton
onPress={() => alert('Clicked RectButton')}>
<View accessible accessibilityRole="button">
<Text>RectButton</Text>
</View>
</RectButton>
Thanks @osdnk
Thanks @adamczyk777
Most helpful comment
Thanks @adamczyk777