66

The user starts an action, and, afterwards, the system determines that some special condition is present which warrants further confirmation from the user:

mockup

download bmml source – Wireframes created with Balsamiq Mockups

In the example above, "No" would do exactly the same as "Cancel". Should the "Cancel" button still be present?

My reason not to include it: It would be redundant and users would wonder about the difference between "No" and "Cancel".

My reason to include it: It allows an "easy way out" for the user: "I don't want to read, think about, and understand the evil scary message box; please just pretend I didn't start the action at all."

Note: I do appreciate alternative suggestions (such as a completely different message box design), but I would also appreciate feedback on which one of those two options is preferred (for example, in situations where the UI library offers limited options).

Heinzi
  • 2,517
  • 3
  • 16
  • 16
  • 31
    Would this dialog have a red [X] in the top right corner? that's the "preferred" way of offering a redundant cancel "safety net" as you're describing. As a button with text, it still requires reading/thinking, whereas the red X can be reflexive. – J. Dimeo Sep 11 '17 at 11:03
  • 29
    "Cancel" in dialog boxes always left me confused, ever since Windows 95. What am I cancelling? The dialog box? The save operation? I prefer explicit text/answers anytime. – phresnel Sep 11 '17 at 11:30
  • 31
    I can cancel the original fizbuzzling? Great, let me do that! –  Sep 11 '17 at 12:12
  • 22
    I would definitely read the second dialog as "yes - fibronicate me a secondary foo, no - do not fibronicate, but still fizzbuzz the primary foo, or cancel - please neither fibronicate, nor fizzbuzz any foos, I like my foos just the way they are" – Joseph Rogers Sep 11 '17 at 14:44
  • 9
    What will the Escape key do? – PCARR Sep 11 '17 at 19:45
  • There's a store near my apartment that has this on their POS card reader to confirm the amount. It still confuses me after seeing it 10+ times or so. Don't do it. Said POS app also throws an exception on the cashier's screen every time a credit card transaction goes through. – Chris Schneider Sep 11 '17 at 19:48
  • Cancel example: Did this part pass QA? Yes No Cancel . Cancel means you need to go back to the parent page, Yes No would engage a CRUD operation. The a close button in the top right in the form of an x is the accepted way of doing cancel though. I like to do stuff like confirm / cancel in which case cancel is the no, but it's clear it doesn't do anything. – RandomUs1r Sep 11 '17 at 22:26
  • Instead of "Cancel" also consider "Go back"... – user541686 Sep 12 '17 at 00:53
  • 1
    http://i0.kym-cdn.com/photos/images/original/000/809/190/af5.png – Robert Columbia Sep 12 '17 at 08:18
  • How is this being presented to the user? Is this in a modal, a notification banner or what? – Harrison Paine Sep 12 '17 at 14:33
  • 1
    [Yes, frobnicate a new one] [Skip] – Cano64 Sep 12 '17 at 16:17
  • Make it OK and Cancel, or Frobnicate and Cancel. – user207421 Sep 13 '17 at 00:55
  • 1
    @JosephRogers I don't understand why you would think or cancel - please neither fibronicate, nor fizzbuzz any foos, nowhere in the message it indicates that you can undo an action, care to explain? – EpicKip Sep 13 '17 at 09:29
  • 1
    @EpicKip UX is not about what the designer writes, but what the user reads ... – Hagen von Eitzen Sep 13 '17 at 09:38
  • 1
    @HagenvonEitzen Yes but I don't understand why a user would assume that a button will undo an action even if it is not mentioned. cancel never lead me to believe I could undo an action only cancel an action. – EpicKip Sep 13 '17 at 09:46
  • 1
    @EpicKip sure, I'm happy to explain my thought process (I've been the designer who doesn't understand the crazy user so can completely understand!). There are three buttons, they are right next to each other so clearly (in my mind) they do different things.Yes and No obviously are answers to the question posed. Cancel must be something else, it suggests I've changed my mind about something. Given the limited context i have, the only thing I can change my mind about is whether or not I want to do the original fizzbuzzification. I hope that's clearer – Joseph Rogers Sep 13 '17 at 12:19
  • I always liked Abort / Retry / Ignore. –  Sep 13 '17 at 19:07

10 Answers10

135

Don't use No with Cancel. They somewhat do the same functionality.

I would suggest you go a step ahead and be accurate with the options you provide. We click Yes/No many times without reading the message in modal dialog - particularly, when we are installing applications, or facing some warning/alert popups. As a responsible designer/developer; you want your users to make a informed decision.

Since, No and Cancel somewhat run the same function. Use cancel instead of No.

mockup

download bmml source – Wireframes created with Balsamiq Mockups

Dipak
  • 16,183
  • 6
  • 45
  • 51
  • 33
    If I saw this dialog I would expect the "Cancel" button to actually cancel the action that has already been undertaken. –  Sep 11 '17 at 14:30
  • 33
    How about a "Do Nothing" button/link instead of "Cancel"? – Dan Sep 11 '17 at 14:57
  • 27
    I upvoted this, so don't get me wrong, but why in this case would you use cancel instead of NO? Natural language would imply that if the question is do you want to fabricate a foo? answers would be yes, fabricate foo or no, don't fabricate another, (or just no), nobody says cancel to a direct question which explains the comments about ambiguity of meaning) – Devin Sep 11 '17 at 18:38
  • 10
    Based on the OP's description of the workflow, it sounds like 'cancel' should be more along the lines of 'discard my changes' to distinguish the fact that you can't personally do anything about the fact the foo has been fizzbuzzed. You can either continue your action with that new knowledge, or abandon your work up to this point. – Kapler Sep 11 '17 at 19:13
  • @Devin I think that's true in normal conversations, but since in this case the users expect (and should be expected) to be fully aware of their actions, we can make the buttons better signifying the messages. Many kinds of art exaggerate the messages, yet we still accept them as natural. – Ooker Sep 11 '17 at 20:27
  • I understand and agree, but in this particular case, Cancel is a more confusing option, as other comments are pointing out. – Devin Sep 11 '17 at 20:30
  • I would upvote this because it's the only answer to make the main point I'd want to see - namely, that button titles should be more descriptive than "yes"/"no"/etc. - but I'm hesitant because I share the reservations described in the first couple comments. – David Z Sep 12 '17 at 07:12
  • My recent UI experience, one of Google apps on Android. "Do you wish to cancel?" [Yes] [Cancel]. – SF. Sep 12 '17 at 09:52
  • 1
    Meh... Make a button, not a link for the "no/cancel" button. Give a real choice, not a biased one. – Olivier Grégoire Sep 12 '17 at 17:49
  • 7
    @Devin I think Cancel is used because of the reason OP gives: It allows an "easy way out" for the user: "I don't want to read, think about, and understand the evil scary message box; please just pretend I didn't start the action at all." And I think that's a very good reason. Cancel implies nothing will happen. If the button said No, then the user would have to read the question to know that nothing will happen. An other reason to use Cancel instead of No is given in the answer of Kamil. – Paul Sep 12 '17 at 23:02
  • Cancel Comment. –  Sep 13 '17 at 19:08
  • @NajibIdrissi Well I wouldn't, especially when the dialog says the main foo has already been fizzbuzzed. If fizzbuzzing is reversible, I expect the software to offer the "unfizzbuzz" option all the time, not in a random dialog asking about something else. – Dmitry Grigoryev Sep 14 '17 at 06:42
  • 1
    I would expect Cancel to cancel the fizzbuzzing of the main foo, if presented with these options. – SQB Sep 14 '17 at 06:48
  • Can I have a Big Mac, Please? - Sure, one Big Mac coming up! Do you want fries also? - Hang on, Cancel! So what do you get; a) A Big Mac, b) Nothing. I would say you get nothing.
  • – Oscar Bravo Sep 15 '17 at 06:32