Property accessibilityLanguage doesn't work.
Originator: | chbeer78 | ||
Number: | rdar://10675372 | Date Originated: | 11-Jan-2012 11:36 AM |
Status: | Open | Resolved: | |
Product: | iPhone SDK | Product Version: | 5.1 / 9B5141a |
Classification: | Serious Bug | Reproducible: | Always |
11-Jan-2012 11:36 AM Christian Beer: Summary: The accessibility API provides a property named accessibilityLanguage that is explained as "The language in which to speak the accessibility element's label, value, and hint." in the documentation. Setting this property to a valid BCP 47 language code (like "en", "it", "es", ...) doesn't change the language the text is spoken in. Steps to Reproduce: Clone the GIT repository of my example project (git@github.com:chbeer/AccessibilityLanguage-Test.git) and execute it on an iPhone. Activate VoiceOver and tap on the cells or drag over them. - Or: - Add a UILabel to a view and set the text to a given text in a certain language (like "Dies ist ein Test", must be different from system language) and the accessibilityLanguage to the language code of the text (like "de"). Activate VoiceOver and let the iPhone speak the label. Expected Results: Text is spoken in the language. Actual Results: Text is spoken in system language. Regression: Notes:
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!