Re: Tool tips and -accessibilitySetOverrideValue:forAttribute:
Re: Tool tips and -accessibilitySetOverrideValue:forAttribute:
- Subject: Re: Tool tips and -accessibilitySetOverrideValue:forAttribute:
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 22 Oct 2009 11:53:49 -0400
On Oct 22, 2009, at 9:08 AM, Bill Cheeseman wrote:
I call -accessibilitySetOverrideValue:forAttribute: on a button cell
to change the value of the AXHelp attribute every time the user
presses or lets up the Option key. UI Browser reports that the value
of the AXHelp attribute was successfully changed every time, but
VoiceOver stops speaking the new value after I change it the first
time. Same result if I use the Command key to trigger the value
change.
I tried setting the override value to nil first, but it doesn't help.
Any hints about what's going wrong or what I can do?
I can narrow this down a little:
1. If I press Option first, then while holding it down add Control,
Shift and H, VoiceOver correctly reports the Help tag as modified by
the Option press.
2. If I press Option and Control simultaneously, then while holding
them down add Shift and H, VoiceOver correctly reports the Help tag
NOT modified by the Option key.
This is as it should be, because my Option key effect is coded
specifically to respond to the keydown and keyup event when ONLY the
Option key is pressed or release, not when it is pressed or released
in combination with other keys.
What is WRONG is that the AUTOMATIC delayed report of instructions,
including the Help tag value, stops altogether once I've hit Option
once. Somehow, the press of the Option key just once is acting like a
permanent switch to turn off automatic delayed reporting of
instructions. Ditto the Command key. I can't find this documented in
any of the VoiceOver docs regarding keyboard shortcuts or controls.
Thoughts?
--
Bill Cheeseman
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