Reputation: 2651
I have an UITextField
that uses a UIPickerView
with two columns as inputView
.
Image: When the user taps on the Target Range cell, the picker at the bottom appears.
I'm wondering how to optimise the VoiceOver experience for this setup.
UIPickerView
and that the left one represents the lower target range and the right one represents the upper target range?Thanks in advance.
Upvotes: 3
Views: 2040
Reputation: 1
For point number 1, just assign "nil" value to textfieldName.text
Upvotes: 0
Reputation: 18860
1) Use the STATIC TEXT TRAIT on the input field.
2) Yes
3) I'd separate the two values. Have a picker for each, instead of this advanced picker with both.
If this isn't possible, you'll want to add that information in. That information might make a good accessibilityHint. It's something that users that frequent your app will become accustomed to, so it's not crucial information. But, new users might need reminded.
Note: users can turn off hints, so if you feel that information is critical, it would be better to bundle it in with the accessibilityLabel.
Upvotes: 1