mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a50e6fb341
Summary: This adds role alias for accessibilityRole, it unifies role and accessibilityRole as requested on https://github.com/facebook/react-native/issues/34424 ## Changelog [General][Added] - Added role alias for accessibilityRole. Pull Request resolved: https://github.com/facebook/react-native/pull/34538 Test Plan: ```js <View role="slider" style={[ { marginTop: 5, borderWidth: 1, borderRadius: 5, padding: 5, }, this.state.showBorder ? { borderStyle: 'dotted', } : null, ]}> <Text style={{fontSize: 11}}>Dotted border style</Text> </View> ``` Reviewed By: cipolleschi Differential Revision: D39169722 Pulled By: jacdebug fbshipit-source-id: cbcbda5ff900c18509b9f3c88e145a3f8700c78d