Custom Control with AXSlider Role
Custom Control with AXSlider Role
- Subject: Custom Control with AXSlider Role
- From: Chris Suter <email@hidden>
- Date: Tue, 10 Mar 2009 11:04:31 +1100
Hi,
I've recently been working on some accessibility stuff for our
application and I've run into a number of problems.
Our situation is that we have a pie chart with slices that can be
resized. We present the pie chart as an AXList and each pie slice as
an AXSlider.
First, I think I encountered the bug described in this thread:
<http://lists.apple.com/archives/accessibility-dev/2006/Nov/msg00019.html>
As we were resizing pie slices, VoiceOver wouldn't notice the updates
as our accessibility UI element wasn't derived from NSView. To
workaround this, I implemented the undocumented -
(BOOL)accessibilityShouldUseUniqueId method and made sure that I clean
up by calling NSAccessibilityUnregisterUniqueIdForUIElement (self)
in my dealloc method. So I don't need help with that, but it might
help someone else.
The second issue that I have is that as the slices are resized, the
focus rectangle used for VoiceOver doesn't get updated even though we
send all the appropriate notifications. I'd be interested in any
suggestions for working around that.
The third issue is that VoiceOver insists on adding the word
"horizontal" or "vertical" which clearly isn't appropriate for us. Any
ideas as to how we might get rid of that?
Regards,
Chris
_______________________________________________
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