Re: Localization of standard roles?
Re: Localization of standard roles?
- Subject: Re: Localization of standard roles?
- From: Guy Fullerton <email@hidden>
- Date: Wed, 15 Dec 2004 12:13:31 -0800
On Dec 15, 2004, at 8:38 AM, David Niemeijer wrote:
If I create a custom button that has a role AXButton that I return on
the kEventAccessibleGetNamedAttribute event, what should I return for
the AXRoleDescription? Should I let the HIView event handler handle
this because AXButton is a known role (and thus has its own role
description already)? Or should I return the string "button"? If the
latter, do I need to return a localized string, or will the system
automatically translate "button" for me because it also uses the word
"button" as a role description itself?
If your handler supplies the AXRole or AXSubrole, it must also supply
the AXRoleDescription.
The role description should be a localized (to match the rest of your
application), human-readable string. It should be all lower-case and
contain no punctuation.
Cheers,
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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