VoiceOver: tabBaritem does not respect accessibilityLabel

Originator:mundue
Number:rdar://17334907 Date Originated:6/16/14
Status:Open Resolved:
Product:ios Product Version:7.1.1
Classification:Bug Reproducible:Always
 
If you set the accessibilityLabel for a tabBarItem that has no title, it will not present the label when using VoiceOver.

Steps to Reproduce:
1. Download attached project VoiceOverNoTabNames.
2. Open project in Xcode 5.x.
3. Turn on VoiceOver on target device.
4. Run project on target device.

Expected Results:
Using VoiceOver to explore sample app UI, when you tap the left tab it should say "Selected, First (code), Tab. 1 of 2"

Actual Results:
Using VoiceOver to explore sample app UI, when you tap the left tab it should say "Selected, Tab. 1 of 2"

Version:
iOS 7.1.1 [11D201]

Notes:
Try uncommenting FirstViewController.m line 25, you will get the expected behavior, but that requires the Tab Bar Item title to be visible. Not desired.

Configuration:
iOS 7.x, iPhone 5S

Attachments:
VoiceOverNoTabNames.zip

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!