Re: VoiceOver UIButton with state
Re: VoiceOver UIButton with state
- Subject: Re: VoiceOver UIButton with state
- From: Chris Fleizach <email@hidden>
- Date: Tue, 24 Jul 2012 09:46:54 -0700
Personally, I would probably override accessibilityValue to return "expanded/collapsed"
On Jul 24, 2012, at 1:55 AM, Grzegorz Adam Hankiewicz wrote:
> Hello.
>
> I've implemented a tableView:viewForHeaderInSection: as an UIButton because interaction with the header collapses the section, hiding or showing the rows for that section. VoiceOver spells the section as a button, but stops at that, meaning the user doesn't get a feeling of this button representing a state. Touching the section will simply state over again and again the name of the section.
>
> I was thinking of overriding accessibilityLabel for this button to say, depending on the state, the text of the button plus the word "Collapsed/Expanded". Is this OK? I was also thinking of implementing the container protocol and faking a switch, since that already speaks about state, but the word used for the state seems confusing for collapsed/expanded.
> _______________________________________________
> 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
_______________________________________________
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