Editorial question63.3K views2,748 votes0 answers4,117 following
AI-generatedAccessibilityRole mapping limits for custom components across iOS and Android
When building custom composite components in React Native, teams often rely on the Accessibility API to expose correct semantics to screen readers. The accessibilityRole prop is intended to map a component to a native accessibility element, such as a button or header, on both iOS and Android. However, the exact boundaries of this mapping for custom component