RE: Voice Over on custom controls
RE: Voice Over on custom controls
- Subject: RE: Voice Over on custom controls
- From: Jorge Moriñigo <email@hidden>
- Date: Thu, 15 Jun 2006 12:58:39 -0700
- Thread-topic: Voice Over on custom controls
My controls are handling the kEventSetFocusPart event by
setting an internal flag and returning their custom value in the output
parameter (noErr is the returned value for the handler). On draw, the flag is
checked to see if the selection highlight needs to be drawn. I think this is the
right way to do it, isn't it?
I am not intercepting tab keys.
I tried calling AXNotificationHIObjectNotify to send a
kAXFocusedUIElementChangedNotification, but nothing changed.
I believe Voice Over is reacting to
kAXFocusedUIElementChangedNotification.
I would guess that notification isn't being sent for your custom
controls.
The Control Manager should send that out appropriately for custom controls,
though. How are your custom controls implemented? Do they react to the
kEventControlSetFocusPart event appropriately? Are you intercepting the tab key
and driving your own focus loop?
On Jun 15, 2006, at 10:19 AM, Jorge Moriñigo wrote:
I have
a Carbon application showing a
non-composite dialog with some custom controls. I am trying to make
Voice Over read those control.
I noticed that
even when I can tab to my custom controls and I can use an accessibility
inspector and see all the attributes, the Voice Over focus (black
rectangle) does not stop on them. It just remains in the previous
control.
Is there any
property or accessibility attribute I need to set to make them work like
regular controls for voice
over?
It probably does not matter, but just in case one of my
controls is a custom databrowser (elements are accessibility objects, not
actual controls). The other is a custom tab control (each tab button is a
control).
Additionally. I have a Picture Control on that same dialog.
I'd like Voice Over to read a description of the picture when tabbing to it.
However, I cannot get this to work since the Picture Control never takes
focus. Is there any way around this?
Thank
you
Jorge Alberto
Moriñigo Software
Design Engineer Microsoft Corporation
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Help/Unsubscribe/Update your Subscription:
|
_______________________________________________
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