UIDocumentBrowserViewController doesn't honor accessibilityLabels of additional leading/trailing navigation bar button items

Originator:matthias.tretter
Number:rdar://35585387 Date Originated:16-Nov-2017 11:52 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11.1/2
Classification:Serious Bug Reproducible:Always
 
Summary:
UIDocumentBrowserVC allows to specify additionalLeadingNavigationBarButtonItems and additionalTrailingNavigationBarButtonItems, which show up in the UI. However, their accessibilityLabel and accessibilityHint isn’t honored but they are simply read as “Button” by Voice Over, which is a serious Usability Problem for Voice Over Users.

Steps to Reproduce:
1. Create a UIDocumentBrowserViewController-based app
2. Create a UIBarButtonItem and set its accessibilityLabel + hint
3. set the item as an additionalLeadingNavigationBarButtonItem
4. Enable Voice Over + Run the App

Expected Results:
Voice Over reads out the accessibilityLabel/Hint of the items

Actual Results:
Voice Over simply reads out “Button”

Version:
iOS 11.1/2

Notes:
There is a related Bug Report (rdar://32922733) which describes that UIAccessibilityCustomActions don’t work on items in UIDocumentBrowserViewController

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!