| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Aug 23, 2006, at 12:07 PM, Håkan Waara wrote: James, That's great!
I'm going to respond to you off list with some more questions - but I think to bootstrap you need your custom accessibility object to hook into the existing accessibility hierarchy in the Cocoa app. So you will need to override some of the accessibility methods in the view that the rendering is done in. In the containing view override accessibilityAttributeValue:, and if the attribute value is NSAccessibilityChildrenAttribute, then you will want to return an array of your custom UI elements (or the top level custom UI element, if there is a root object). In addition, you will want to override the hit and focus testing methods: - (id)accessibilityHitTest:(NSPoint)point; - (id)accessibilityFocusedUIElement; in the view to call the same method in the appropriate child. It would be OK if the content view had one accessibility child, which represented the "AXWebArea". If that were the case, then in the content view, you would simply call the hit and testing methods in the accessibility child. -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: http://lists.apple.com/mailman/options/accessibility-dev/email@hidden This email sent to email@hidden
| References: | |
| >Minimum requirements for a NSAccessibility object? (From: Håkan Waara <email@hidden>) | |
| >Re: Minimum requirements for a NSAccessibility object? (From: James Dempsey <email@hidden>) | |
| >Re: Minimum requirements for a NSAccessibility object? (From: Håkan Waara <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.