UITabBarController does not use UITabBarItem's accessibilityLabel
| Originator: | percysnoodle | ||
| Number: | rdar://29137721 | Date Originated: | 2016-11-07 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | Xcode Version 8.1 (8B62) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: In previous iOS SDKs, it was possible to set an accessibilityLabel on a view controller's tabBarItem. If you did so, then the UITabBarController would use that accessibilityLabel as the accessibilityLabel of the button in its tab bar corresponding to that view controller. In Xcode 8.1, you can still set the accessibilityLabel, but it is not used. Steps to Reproduce: 1. Set an accessibilityLabel on a view controller's tabBarItem to a value different to its title. 2. View the corresponding button in accessibility inspector Expected Results: Accessibility inspector should show the given accessibilityLabel Actual Results: Accessibility inspector shows the object's title Version: Xcode Version 8.1 (8B62) Notes: The behaviour is the same whether using the iOS 8.4 or the iOS 10 simulators. For an example project, please see https://github.com/percysnoodle/tab-bug-tester
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!