Is Accessibility Verifier out-of-date?
Is Accessibility Verifier out-of-date?
- Subject: Is Accessibility Verifier out-of-date?
- From: Ricky Sharp <email@hidden>
- Date: Mon, 4 Sep 2006 10:28:20 -0500
As I near completion of adding accessibility support to my custom
classes, I decided to run the verifier to see if there were any errors.
For my custom radio button solution (NSActionCell subclass residing
in a NSMatrix subclass), I get the following errors:
AXRadioButton - "Use range of products" Required attribute AXMaxValue
is missing
AXRadioButton - "Use range of products" Required attribute AXMinValue
is missing
It's easy enough to add these, but I found that no radio buttons or
tab group buttons in the OS itself have such attributes.
Also got this error:
AXRadioButton - "Use range of products" AXValue attribute value type
is wrong, should be CFString it is CFNumber
Currently, when responding to a request of AXValue, I do this:
theValue = [NSNumber numberWithInt:[self state]]; // where state
is NSOffState or NSOnState
This produces the correct VoiceOver output:
"Use range of products selected radio button 1 of 2"
If I change it to return a string that the verifier seems to want...
theValue = [NSString stringWithFormat:@"%d", [self state]];
...it produces the following VoiceOver output:
"1, Use range of products selected radio button 1 of 2"
For unselected radio buttons, it starts out with "0, ..."
NSRadioButtons used by the OS also return CFNumber (NSNumber) for
AXValue so it too gets errors generated in the verifier.
So is the Verifier app up-to-date in terms of what really is required
as well as what type should be used for AXValue? I'm sure I just
scratched the surface and am sure to find other problems too.
I feel like completely blowing off the Verifier app and just using a
combination of Acc Inspector and VoiceOver to do my testing. Or, is
VoiceOver at fault here?
I'm running Mac OS X 10.4.7 on PowerPC. My Cocoa app has a minimum
target OS of 10.4.5.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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