Re: Index information on iOS
Re: Index information on iOS
- Subject: Re: Index information on iOS
- From: Jamal Mazrui <email@hidden>
- Date: Sun, 11 Feb 2018 17:23:23 -0800
Thanks, Paul. Can you also tell me whether any particular
accessibilityTraits have been applied in that example? I reviewed the
documentation you referenced and am trying to understand whether the
segmented control is a container for the All and Missed buttons, whether
the components of the control are automatically considered buttons by
VoiceOver, or whether traits were applied to give them a button role.
Jamal
On 2/11/2018 2:59 PM, Paul Adam wrote:
Hey Jamal, you can use a UISegmentedControl to get the "2 of 3"
behavior.
https://developer.apple.com/documentation/uikit/uisegmentedcontrol
The All and Missed buttons are a UISegmentedControl.
There may be some other way to do it in swift code that others might
know?
Paul J. Adam
On Feb 11, 2018, at 4:14 PM, Jamal Mazrui <email@hidden
<mailto:email@hidden>> wrote:
How should controls be coded on iOS so that VoiceOver speaks index
information?
As an example, consider the built-in Phone app. When the Recent tab
is selected, there are two buttons, All and Missed, presenting
choices as to whether all calls should be shown or only missed ones.
When the All button has accessibility focus, its identification by
VoiceOver ends with the phrase "1 of 2". For the Missed button,
VoiceOver says "2 of 2".
Such index information is useful in multiple ways: indicating that
the buttons are part of a group of choices, conveying the size of the
group, and informing the user about the current position in the
group. Just placing buttons consecutively in an app, however, does
not seem to result in index information. What else is needed?
Jamal
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list
(email@hidden
<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden