Re: Minimum requirements for a NSAccessibility object?
Re: Minimum requirements for a NSAccessibility object?
- Subject: Re: Minimum requirements for a NSAccessibility object?
- From: James Dempsey <email@hidden>
- Date: Thu, 24 Aug 2006 09:33:16 -0700
On Aug 24, 2006, at 9:08 AM, Håkan Waara wrote: 3rd party apps that use the accessibility APIs have no ability to peak at the NSView hierarchy. They only see the accessibility hierarchy you present. So if you've taken (enough) control over what NSApp presents they'll only see what you want them to see.
Unfortunately, since we're (at least aiming to be) an embeddable NSView, I can't have any control over the NSWindow or the NSApp. All I can control is the topmost NSView, and everything below it. Is that sufficient?
Since you are able to control what you report for the accessibility hierarchy from that embeddable NSView on down, you should be able to report correctly. However, you will need to also override accessibility methods in the plug-in views that you are using, so they correctly report their parents as your accessibility objects, instead of NSView's default, which is reporting the accessibility parent/child relationship according to the view hierarchy.
Using the NSAccessibility protocol you can expose whatever structure you wish to assistive apps (3rd party apps that use the accessibility APIs).
-James
-------------------------------------------------- James Dempsey AppKit Engineering Apple
|
_______________________________________________
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