AXValue and NSView
AXValue and NSView
- Subject: AXValue and NSView
- From: Martin Pilkington <email@hidden>
- Date: Mon, 9 Nov 2009 17:18:42 +0000
Hey,
I've got an NSView subclass that represents a digital clock. I've set
several accessibility attributes on it: a custom role & role
description ("timer"), a description ("recording") and a value (the
current time in the format "x hours, y minutes, z seconds" with
irrelevant units taken out eg if only 50 seconds have passed it will
just say "50 seconds"). Accessibility Inspector is showing that these
are all set fine on the view, but when I try VoiceOver, the value
isn't read. I've implemented -accessibilityAttributeNames, -
accessibilityAttributeValue: and -accessibilityIsAttributeSettable:
and they all seem to work, but I can't seem to get the value read. I
really don't want to have to resort to putting the value into the
description as it doesn't really feel right being there, but I can't
seem to find why VoiceOver won't read it.
Thanks
Martin
_______________________________________________
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