Manually setting accessibilityElements makes it difficult to drag to focus large UILabels with VoiceOver

Originator:RyanMcLeod
Number:rdar://35896463 Date Originated:12/6/17
Status:Open Resolved:
Product:UIKit Product Version:
Classification:Bug Reproducible:Always
 
Create a stack of accessible elements (say a table view) and place a large UILabel (font size 200 or so) above them. Turn on VoiceOver and attempt to tap or drag to select the large label. It should be fairly easy. Next set the accessibilityElements of the view manually (either with the large label coming first in the array or last) and observe that it's very hard/impossible to select by dragging or tapping. Shrinking the label's accessibility Frame, or using a smaller font seems to be less problematic.

To use sample project, run with VO running. Attempt to tap 'X' targets, or drag to select. Note that it's very easy. Tap button to set them manually. Attempt again. Observe that it's possible to tap the smaller one to highlight it but dragging to select either is difficult.

Sample project:
https://github.com/warpling/LargeLabelAccessibilityTest

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!