Having VoiceOver speak changes in value
Having VoiceOver speak changes in value
- Subject: Having VoiceOver speak changes in value
- From: Ricky Sharp <email@hidden>
- Date: Fri, 21 Jul 2006 17:55:21 -0500
In observing VoiceOver with a standard Aqua slider with tick marks, I
found that VoiceOver would speak values as in incremented/decremented
the control.
I thought I'd try something similar with one of my custom controls
(IIValueField). Basically, this is a control that displays a number
and offers two clickable areas to increment/decrement the value.
The control has been made accessible in terms of providing actions
and attributes.
When tabbing to the value field, it currently speaks the control's
value, title and role (e.g. 10 maximum sum value field). When the
user increments/decrements the value, I'd like VoiceOver to speak the
new value. I thought this was a simple matter of posting a
notification:
NSAccessibilityPostNotification ([self cell],
NSAccessibilityValueChangedNotification);
I stuck that code in various places to include the handler for my
custom value attribute in
observeValueForKeyPath:ofObject:change:context:
But, although the notification is posted, VoiceOver will not speak
the new value. Is there a different mechanism to get this working?
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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