You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NavigationBar: VoiceOver reads the tabs as buttons, with no tab role or position #5351
VoiceOver reads NavigationBar's tabs as "selected, Album, 3, Button", "Library, Button", "Favorites, Button", "Settings, Button": no tab role and no position. NavigationBar gives each tab role="button" on iOS and role="tab" on the other platforms, inside a tablist (NavigationBar.tsx). TalkBack reads "selected. Album, 3. Tab", but speaks no position either.
Expected behaviour
Each tab is read as a tab, with its position if the platform supports it, on iOS as on Android.
How to reproduce?
Render a NavigationBar with four routes, one with a badge.
With VoiceOver on, swipe across the tabs.
Preview
Screenshots can be attached.
What have you tried so far?
6.0.0-alpha.4's BottomNavigation.Bar had the same iOS role, carried into NavigationBar by #5006. Not checked: whether React Native now gives iOS a tab trait for role="tab", so the iOS branch could go.
Activity