Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Voice Over on custom controls



I wrote this some time ago and didn’t get a new response.

Any idea of what I can do to have Voice Over focus stop on my custom controls? (And an image if possible)

 

 


From: accessibility-dev-bounces+jorgemor=email@hidden [mailto:accessibility-dev-bounces+jorgemor=email@hidden] On Behalf Of Jorge Moriñigo
Sent: Thursday, June 15, 2006 12:59 PM
To: Guy Fullerton
Cc: email@hidden
Subject: RE: 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.

 

 


From: Guy Fullerton [mailto:email@hidden]
Sent: Thursday, June 15, 2006 10:46 AM
To: Jorge Moriñigo
Cc: email@hidden
Subject: Re: Voice Over on custom controls

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.

Accessibility-dev mailing list      (email@hidden)

Help/Unsubscribe/Update your Subscription:

 

This email sent to 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:
http://lists.apple.com/mailman/options/accessibility-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.