I tried to buy a train ticket from a vending machine yesterday in a hurry and had some difficulty navigating the English menus (Chinese is the default language). I was trying to back up one step, but it seems I'd hit a "cancel" button instead.
Instead of instantly cancelling the transaction, a pop-up window opened with the question "Cancel this operation?" So far, so good.
But then I saw the two options: "Cancel" and "Yes".
Time stopped, my brain froze. I could not understand exactly what would happen if I chose either option - it looked like they would both cancel the transaction but that couldn't be the case. Luckily my clear-thinking friend clicked "Cancel" in order to not cancel the operation. He canceled the cancel.
But what would be a better way to state the query and the labels on each button?
update: While this answer to Should I use Yes/No or Ok/Cancel on my message box? does address the cognitive conundrum I faced:
Just for example, I recently saw a dialog with a question like "Do you really want to cancel your account?" and buttons labelled "Ok" and "Cancel". In this case, "Ok" meant "Cancel", and "Cancel" meant "don't cancel".
(which reminds me of the Star Trek TOS scenario where Spock says "I am lying") I think that the Cancel vs Yes options pose a specific problem not actually answered there, and answers accumulating here so far seem to be much more focused on this specific issue and its potential solutions.