• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Where does the accessibility hierarchy "start"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where does the accessibility hierarchy "start"?


  • Subject: Re: Where does the accessibility hierarchy "start"?
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 02 Jun 2006 05:10:08 -0400
  • Thread-topic: Where does the accessibility hierarchy "start"?

on 2006-06-02 4:53 AM, Håkan Waara at email@hidden wrote:

> How do I really know which objects in my application that are queried
> for the NSAccessibility informal protocol? Nothing in the
> documentation says it is tied to to views, responders, or even controls.
>
> I'd like to be able to intercept the first query for the main
> accessibility objects (NSApplication's?) and make sure that anyone
> (e.g., VoiceOver or Accessibility Verifer) that asks for child
> objects, always get them from that hierarchy.
>
> This is so I don't have to simultaneously make sure that all the
> views (etc) in my app correspond to that abstract hierarchy of
> accessibility objects.

Are you trying to make sure that the controls in your application are
properly accessible to assistive applications (such as VoiceOver)?

If so, and if you use standard Cocoa UI element code, everything is already
made accessible for you by accessibility code built into Cocoa at a very low
level. You don't have to worry about it.

You only have to make your UI elements accessible if you're creating custom
UI elements. In that case, there is extensive accessibility documentation
for how to do this in Cocoa applications (and separate documentation for
Carbon applications).

When you're done, you can test your application using Apple's free
Accessibility Inspector and Accessibility Verifier utilities, or our PreFab
UI Browser.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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

  • Follow-Ups:
    • Re: Where does the accessibility hierarchy "start"?
      • From: Håkan Waara <email@hidden>
References: 
 >Re: Where does the accessibility hierarchy "start"? (From: Håkan Waara <email@hidden>)

  • Prev by Date: Re: Where does the accessibility hierarchy "start"?
  • Next by Date: Re: Where does the accessibility hierarchy "start"?
  • Previous by thread: Re: Where does the accessibility hierarchy "start"?
  • Next by thread: Re: Where does the accessibility hierarchy "start"?
  • Index(es):
    • Date
    • Thread