Re: Custom Text Input Control
Re: Custom Text Input Control
- Subject: Re: Custom Text Input Control
- From: Ricky Sharp <email@hidden>
- Date: Tue, 15 Jan 2008 15:16:28 -0600
On Jan 15, 2008, at 7:13 AM, Frank Neumann wrote:
in our application we do custom drawing. To make it accessible we
create wrapper-objects (subclasses of NSView) that implement the
NSAccessibility protocol for each control. This works fine for
buttons, checkboxes etc.
To let Voice Over read text input we tried to send
NSAccessibilityValueChangedNotification whenever the user changes
the text. We hoped that Voice Over would then read the text. But it
didn't.
On the other hand in a standard cocoa text input area Voice Over
speaks (depending on its configuration) each typed character/word
and selected text. Through which API calls is this behaviour
triggered?
This is definitely an area of mystery. My UI is completely custom
(math software for kids). While it's fully accessible, there are key
areas where VoiceOver will not do the right thing as compared to apps
using Aqua controls.
For example, as a slider's knob is moved say over a range with tick
marks, VoiceOver will "re-speak" the new knob positions. In one of my
controls where users can adjust a range, VoiceOver will _not_ "re-
speak" anything. Even though the control sends appropriate "value
changed" accessibility notifications.
My guess is that there is, unfortunately, some "hard wiring" going on
between VoiceOver and the Aqua controls.
Hmm, I thought I had filed an enhancement request for this back in the
Tiger days (to provide developers proper hooks into VoiceOver, and/or
to have VoiceOver honor acc notifications correctly). But alas, I see
no bug. I'll add that to my evening's to-do list.
___________________________________________________________
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