Getting Started
Getting Started
- Subject: Getting Started
- From: "Marc Wan" <email@hidden>
- Date: Sat, 14 Apr 2007 15:36:25 +0800
Hello!
I'm trying to enable accessibilty in my Cocoa application, and
sorting through the docs has been a bit bewildering for me.
In short, it appears as though:
1. I can just enter descriptions and "help" strings for all my IB
elements in IB.
2. I need to add both of these values to controls that I create by
hand (i.e. not in IB).
In code, I create a number of NSButton controls, and have tried adding:
[button accessibilitySetValue: @"test test" forAttribute:
NSAccessibilityDescriptionAttribute];
only to get a runtime exception about "AXDescription" not being
supported. The title attribute didn't work either.
I've also found that IB sort of supports control-drag linking of
controls to their parent title, but the other "linked UI elements"
completely mystifies me.
so, my questions are:
1. for a reasonable simplisitic UI, is providing the descriptions
and help strings sufficient? what is the difference between these?
They both seem kinda "describe what's going on here". are there
guidelines for what exactly i should or shouldn't say here?
2. for controls I create by hand, such as NSButton, how do I set
those values? the docs claim that the NSAccessibility is supported
already, but that doesn't seem to quite be the case.
3. What's the difference between the title and linked elements in
IB, and what should be set to what?
4. nomenclature: why the AX in some places and NSAccessibility in others?
any pointers would be appreciated.
thanks,
marc.
_______________________________________________
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