Custom accessible Cocoa controls
Custom accessible Cocoa controls
- Subject: Custom accessible Cocoa controls
- From: Ryan McGann <email@hidden>
- Date: Sat, 12 Apr 2003 03:42:40 -0700
Howdy:
We have a custom view that I'd like to make sure if "accessibility
enabled". The view has the same functionality as the Finder's widget
that allows users to switch between column, view and list mode (in the
toolbar).
While implementing accessibility, I figured I'd need to implement -
(id)accessibilityHitTest:(NSPoint)point, but I'm not sure _what_ to
return from that method. The docs say I should return the "deepest
descendant of the accessibility hiearchy that is located under the
point". However, the area under the point is not an object, but just
graphics that we draw. I can't use NSMatrix for this control because of
the way it's drawn, NSMatrix doesn't have the appropriate geometry. I
tried implementing the various areas of the control as children, but
ran into the same problems (e.g. what objects do I put in the children
array that's returned from accessibilityAttributeValue?)
Any ideas on how I can implement this functionality?
--Ryan
email@hidden
There are three kinds of people in the world: Those that can count, and
those that can't.
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.