But it's better to mirror the action verb for your confirmation button, because users don't necessarily read the text you present them with. So, instead of this:
Delete xyz.jpg?
--------------------------
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
[ OK ] [ Cancel ]
You have: Delete xyz.jpg?
--------------------------
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
[ Delete ] [ Cancel ]
And you get one more chance for the user to see what action they're about to perform.There's very good, detailed guidance on this in the Windows design guidelines (the design-specific aspects are a bit dated since everything there refers to Vista/7-era UI elements, but their guidance on text and dialog styles is still applicable):
Text: https://msdn.microsoft.com/en-us/library/windows/desktop/dn7...
Dialog Boxes: https://msdn.microsoft.com/en-us/library/windows/desktop/dn7...
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
Delete xyz.jpg?
--------------------------
[ Yes ] [ No ]
...and this also coincidentally gives a reason for the order of OK/Cancel --- affirmation on the left, denial on the right. Unsaved changes will be lost. Save your changes first?
and another program will ask Unsaved changes will be lost. Are you sure?
Or within a single program, "Yes" will be the safe option everywhere except one place where it's the dangerous option because nobody thought about that.If the user is exposed to one convention 90% of the time, the other one will always cause some confusion and feel sloppy.
And more generally, before disregarding industry best practices and findings from research literature and implementing something based on ad-hoc personal hunches, make sure you run some experiments on real people.
That's the cop-out answer I get whenever I ask about unnecessary and infuriating UI changes. It has only given rise to increasingly dumbed-down, stupifying interfaces.
If the action is to move forward with something or not, I think I prefer the "next"-type button to be on the right, and "cancel" or "back" on the left, probably far left.
But, my thinking does violate the "pick one and be consistent" suggestion. So... I dunno :)
And we don’t always react to confirmations instantly. What if you’re distracted away, or you suddenly second guess your decision and perform some auxiliary research? Or what if you have more than one dialogue box on the screen at a time? From a UX standpoint, it is far safer to repeat the verb rather than use a generic.
To be frank, the only reason why I could imagine using generics is laziness.
To a certain extent, I would think this is the point of using this approach (at least for a "delete" action). I'd prefer the user to stop and think, "wait, what is this?" instead of just blindly clicking through.
"Cancel this action?" "Yes" "Cancel"
Seriously?!
On the other hand, I think Yes or No are clearly an answer to "Cancel this action?"
Or you can just bend the UX rules for this one instance.
Or you can consider whether cancel is the best verb anyway; what about “end” or “stop” or “abort”?
https://tech.slashdot.org/story/16/05/24/171215/windows-10-u...
> In a move guaranteed to annoy many people, Microsoft has "jumped the shark" on encouraging users to upgrade to Windows 10. Microsoft has faced criticism for changing the pop-up box encouraging Windows users to upgrade to Windows 10. Clicking the red cross on the right hand corner of the pop-up box now activates the upgrade instead of closing the box.
Delete xyz.jpg?
--------------------------
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
[ Delete xyz.jpg ]
[ Keep xyz.jpg ]
Action buttons sometimes need to be single verbs for the sake of brevity. A verb-noun pair is much more legible than a standalone verb. Self-explanatory buttons are usually preferable to buttons that depend on explanatory text.https://www.merriam-webster.com/dictionary/submit
1 a : to yield to governance or authority
b : to subject to a condition, treatment, or operation * the metal was submitted to analysis
2 : to present or propose to another for review, consideration, or decision; also : to deliver formally * submitted my resignation
3 : to put forward as an opinion or contention * we submit that the charge is not proved
It (the "Submit" button) is "present[ing]" (or "deliver[ing]") the form data field contents to the server. And in fact, myself, until I read your comment, never even considered the word in the context of the "yield" definition due to how it operates.
My gut feeling is that when written as a verb, it should always be the longer form, ex: "I will okay it, like I okayed the last one."
I believe it's from the same writing-sense that intuits "I have three main points" as superior to "I have 3 main points."