Setting accessibilityIdentifier sets accessibilityLabel on UIImageViews

Originator:henry3writes
Number:rdar://13234886 Date Originated:18-Feb-2013 09:45 AM
Status:Open Resolved:
Product:Developer Tools Product Version:4.6
Classification:UI/Usability Reproducible:Always
 
Summary:
Setting the accessibilityIdentifier will also set the accessibilityLabel on UIImageViews provided the accessibilityLabel has not been previously set, has a value of nil or @"".

Steps to Reproduce:
1) Create a UIImageView.
2) Give it an accessibilityIdentifier.
3) Log both its accessibilityIdentifier and accessibilityLabel.  Verify they are the same, although they should not be.

Expected Results:
Setting the accessibilityIdentifier should not have an affect on the accessibilityLabel.

Actual Results:
Setting the accessibilityIdentifier is also setting the accessibilityLabel to the same value (assuming the label has either not been set, has a value of nil or @"". 

Regression:
Verify that setting the accessibilityIdentifier does not set the accessibilityLabel.

Comments

Fixed in iOS 7.

This has been fixed in iOS 7.

By henry3writes at Oct. 9, 2013, 2:38 p.m. (reply...)

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!