mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8fb1bb8da7
Summary: Changelog: [Internal] - The accessibilityRole will be used to specially distinguish normal fragments and fragments with embedded link, which is helpful when building accessibilityElement. According to this document: https://reactnative.dev/docs/accessibility, the accessibilityRole is a common accessibility props that could be inherited, and this is why I add accessibilityRole to the TextAttributes. Reviewed By: sammy-SC Differential Revision: D22249140 fbshipit-source-id: 408b4415bf44539d8671d3d98f1ec06f8035baf6