Default 'Cancel' buttons and actions
Default 'Cancel' buttons and actions
- Subject: Default 'Cancel' buttons and actions
- From: Ricky Sharp <email@hidden>
- Date: Sun, 9 Jul 2006 18:38:49 -0500
In my kiosk-style app with custom UI, I have a single window (custom
NSWindow subclass) whose content is a particular 'screen'. Many
screens contain default and/or cancel buttons.
What I've done is to add appropriate attributes to my NSWindow
subclass to include NSAccessibilityConfirmAction and
NSAccessibilityCancelAction as needed.
For some of my screens, the "Cancel" button is actually the default
button (Return/Enter triggers it).
For example, on the "Remove Student" screen which displays a
confirmation message:
"Are you sure..."
[?] [Cancel] [OK]
A sighted user will see that Cancel button is the default (I use a
pulsing animation). If they press Return/Enter, the Cancel button is
triggered. Pressing Esc does nothing as there's no 'cancel' button;
just a default button that happens to be 'Cancel'.
When adding in the confirm and cancel actions, I thought that I may
switch things around. Thus, for users of assistive devices, there
will be two actions: 'cancel action' will trigger the Cancel button
and 'confirm action' will trigger the OK button.
Question... Is it OK to have things 'reversed' like this? Or, should
I redo things so that this dialog will only have a confirm action
(which triggers the cancel button)? Put another way, should a
confirm action only trigger a button that responds to return/enter
and a cancel action only trigger a button that responds to Esc?
I just thought it was strange that users would 'confirm' the remove
student screen and have it actually be canceled instead.
In looking at Safari's 'Reset Safari' dialog (which has its Cancel
button set up as the default button), it doesn't define any actions
other than 'raise'. So I don't know what guidelines, if any, are
appropriate here.
Thanks,
___________________________________________________________
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