Accessibility: Custom UITableViewCell doesn't allow individual VO elements

Originator:futuretap
Number:rdar://11140417 Date Originated:Wed, 28 Mar 2012 19:15:56 GMT
Status:Closed/Resolved Resolved:19-Apr-2012 01:39 AM
Product:iPhone SDK Product Version:5.1
Classification:Other Reproducible:Didn't try
 
I have a UITableViewCell with the following subview hierarchy.

UITableViewCell
	CustomView1
		* UILabel1
		* CustomView2
		* UILabel2
		* UITextView

I wanna prevent the cell from being accessible per se but want to specify accessibility attributes for the * marked views. No matter how I try, the cell itself is automatically made accessible with an accessibility label that consists of the values of UILabel1 and 2 concatenated with ", " in between. When hovering over the UILabels, they aren't accessible specifically.

Accessibility of CustomView2 and UITextView works as expected.


The UITableViewCell is created in code (default style). CustomView1 is loaded from a NIB and added as a subview.



19-Apr-2012 01:39 AM Apple Developer Bug Reporting Team :
Engineering has provided the following feedback regarding this issue: 

Please explicitly set isAccessibilityElement on UILabels, which will inform us they are to be distinct elements.

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!