On Sep 10, 2008, at 2:44 PM, Matthew Mashyna wrote:

I have a custom view that is a subclass of NSView with a bunch of subviews. When Voiceover is on it will speak the text that is in the subviews but that's not what I want. I would like my view class to control what is spoken but I can't figure out how to do it. I would also like to have it speak when the view is clicked on.

How can I set the text of what's spoken ? Is there a method like setToolTip ? How can I make the subviews NOT speak.I don't need it to say "image" when the mouse is over an image" I want it to describe the image.
How can I get it to speak when my view gets keyboard focus ?


You'll need to create the proper accessibility hierarchy for this. i.e. enable accessibility on your container view and potentially disable it for its subviews.

You'll also get better served on the dedicated accessibility-dev list. Accessibility engineers frequent that list. You can also search its archives for a list of helpful tools as well as code examples.

___________________________________________________________
Ricky A. Sharp         mailto:[EMAIL PROTECTED]
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to