Making a two state switch more accessible than just a checkbox
Making a two state switch more accessible than just a checkbox
- Subject: Making a two state switch more accessible than just a checkbox
- From: Doug Russell <email@hidden>
- Date: Mon, 15 Oct 2012 20:44:51 -0700
I'm creating a two state switch that's very similar to the on/off switch in the Time Machine preference pane, but in my case the two values aren't on and off, but rather two values worth describing more specifically than check or unchecked.
I tried overriding accessibilityActionDescription: but the checkbox role never calls accessibilityActionNames or accessibilityActionDescription:.
I then tried switching to the button role, which still doesn't call accessibilityActionNames but does call accessibilityActionDescription:.
However with the button role, I don't see a way to cause it to read it's initial value or announce it's value on value changes the way that the check box role does.
Both roles don't use the action or role description I supply in their help text which seems confusing for users.
I'm looking for the initial state and changing state announcement behavior of check box, but the custom action descriptions of button and it would be nice to have a completely custom help text that doesn't say checkbox or button but instead uses a custom description.
Here's a sample app to demonstrate the issue: http://cl.ly/0S3B3M470a41
As an aside, not having documentation for the expected behaviors of the different roles is really frustrating.
- Doug Russell
_______________________________________________
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