Re: Usage of NSAccessibilityShowAlternateUIAction and NSAccessibilityShowDefaultUIAction
Re: Usage of NSAccessibilityShowAlternateUIAction and NSAccessibilityShowDefaultUIAction
- Subject: Re: Usage of NSAccessibilityShowAlternateUIAction and NSAccessibilityShowDefaultUIAction
- From: Josh Scotland <email@hidden>
- Date: Fri, 01 Nov 2013 18:08:45 -0700
> Should I switch to NSAccessibilityShowAlternateUIAction / NSAccessibilityShowDefaultUIAction ?
> Should I replace NSAccessibilityPressAction with NSAccessibilityShowAlternateUIAction or it should be listed in addition?
> Should I replace NSAccessibilityCancelAction with NSAccessibilityShowDefaultUIAction?
No, probably not. The Hidden UI API is for container elements with transient UI. The most common use case for the Hidden UI API is when doing a mouse over, UI appears or disappear.
In your case, the element is changing. You probably just want to announce that the element has changed.
> Should I always pair NSAccessibilityShowAlternateUIAction / NSAccessibilityShowDefaultUIAction or each can be used on its own?
Yes, they should be paired because you’re showing two different states and want the user to toggle freely between them.
> Are those actions supposed to be non-destructive to user’s data?
Data loss is unrelated to any accessibility API. If there’s data loss, your app has a major bug.
On Oct 31, 2013, at 12:52 AM, Ilya Kulakov <email@hidden> wrote:
> My control has a button state (default) and text input state (alternate).
>
> On previous versions of OSX I exposes Press actions to get into alternate UI and Cancel/Delete actions to get back to default UI.
> Should I switch to NSAccessibilityShowAlternateUIAction / NSAccessibilityShowDefaultUIAction ?
> Should I replace NSAccessibilityPressAction with NSAccessibilityShowAlternateUIAction or it should be listed in addition?
> Should I replace NSAccessibilityCancelAction with NSAccessibilityShowDefaultUIAction?
> Should I always pair NSAccessibilityShowAlternateUIAction / NSAccessibilityShowDefaultUIAction or each can be used on its own?
>
> Are those actions supposed to be non-destructive to user’s data?
>
> Best regards,
> Ilya Kulakov
>
>
> _______________________________________________
> 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
_______________________________________________
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