iOS 14: The default accessibility labels for TabView items are using the image systemName instead of the Text.
Originator: | jeremy.gale | ||
Number: | rdar://FB8653658 | Date Originated: | Sep 8, 2020 |
Status: | Open | Resolved: | |
Product: | SwiftUI Framework | Product Version: | iOS 14 b7 (18A5369b) |
Classification: | Incorrect/Unexpected Behavior | Reproducible: | Yes |
I've made a GitHub repo that reproduces the example: https://github.com/jgale/TabBarAccessibility14. # Description On iOS 14 beta 7 (18A5369b) the default accessibility labels for TabView items are using the image name instead of the Text. This is a regression from iOS 13. # Steps to Reproduce Create an app with a TabView ```swift struct ContentView: View { var body: some View { TabView() { Text("Explore") .tabItem { Image(systemName: "house") Text("Explore") } Text("To Do") .tabItem { Image(systemName: "checkmark.circle") Text("To Do") } Text("About") .tabItem { Image(systemName: "gear") Text("About") } } } } ``` Turn on Voice Control, and says "Continuously show names". Expected: * The 3 tabs should show accessibility labels of "Explore", "To Do", and "About" Actual: * The actual accessibility labels are “House", "Checkmark.circle", and “Gear". This is unexpected and will cause accessibility users confusion.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!