REOPENED Strings properties in cell subclass -> undesired accessibility element for cell

Originator:apontious
Number:rdar://17171117 Date Originated:6/5/2014
Status:Open Resolved:
Product:iOS SDK Product Version:7.1.1
Classification:Serious Bug Reproducible:Always
 
Summary:
For a UITableViewCell subclass loaded from a xib, even if you don't specify it as an accessibility element in that xib, if you add string properties to the class, it will show up as an accessibility element with *all* the strings concatenated together.

REOPENED from rdar://15498013, closed back in 1/2014 when I did not reply to request to test beta.

This STILL OCCURS on iOS 7.1.1 running on an iPhone 5.

Steps to Reproduce:
- Clone the git repository https://github.com/apontious/VoiceOver-String-Properties-in-Cells-Bug.git
- Build and run it on a VoiceOver-enabled iPhone or iPod touch
- Double-tap the + button a couple times to add a few rows to the table
- Swipe through the accessibility elements

Expected Results:
The only table accessibility elements are the image view and the button inside every cell.

Actual Results:
The cell itself is an accessibility element, with its string properties concatenated together as the label.

Version:
iOS 7.1.1

Notes:
Removing the string properties from the cell subclass removes the cell as an accessibility element.

Configuration:
iPhone 5

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!