Make private UIAccessibilityTraits publicly available

Originator:avedesk
Number:rdar://35091280 Date Originated:20-Oct-2017 09:55 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.0
Classification:Enhancement Reproducible:Always
 
Summary:
In our app we have a custom control conforming to UIKeyInput. It is impossible to make this work with XCUITest's -typeText:, because the control doesn't return the private UIAccessibilityTraitTextEntry / UIAccessibilityTraitIsEditing traits, like UITextField is doing.

By making all UIAccessibilityTraits public, app developers can provide the same top notch accessibility as UIKit's control do.

Steps to Reproduce:
- Try to make a control have the same traits as UITextField

Expected Results:
- is possible with public API

Actual Results:
- Impossible: UITextField uses private traits

Version:
11.0

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!