Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

Related: OK/Cancel on left/right?

I have been looking in to whether OK/Cancel should be on left or right, and after looking at lots of views on each side it seems there are good reasons for both. I don't want to start talking about that here, as it has already been covered in great detail in the question above.

As I am trying to make the UX the best it can be, all I really CARE about is the user, and I want to place the buttons wherever I need to so that it's as usable as possible. With this in mind I'd like to perform some UX tests.

What kind of tests should be performed? Shall I blank the buttons and take a poll on which button should be which? Should I remove the Red/Green colouring and ask users to perform the tasks with haste and see which generates more errors?

I'm open to suggestions on the best way to test this and I hope the results can help us all!

share|improve this question
    
I think you need to establish what you are going to be testing, before you can decide on an approach. It would also be useful to consider the broader context of use: are your users Mac or PC users? What other applications do they use, and what conventions are used there? –  Peter Oct 4 '12 at 12:36
    
Excellent comment, +1, and will update the question with info requested. –  TJH Oct 4 '12 at 14:41

4 Answers 4

up vote 3 down vote accepted

Don’t do a poll. What people say they like doesn’t always correspond to what they do. If you’re going to take the blank-button approach, put users in a situation where they need to click OK (and another situation where they need to click Cancel) and force them to guess which one to click.

It’s probably better to have a more realistic UI which has the labels. However, I wouldn’t rely on measuring error rates alone. The truth is users very rarely click the wrong button in a dialog of a desktop app no matter which button is left and right. That’s one reason debate on this topic has yet to be resolved –one way doesn’t blatantly out-perform the other. In addition to measuring error rates, also measure response time to the millisecond. If users are the least bit confused by the button positions, it will show up as a slight hesitation. This saves you from having to unrealistically rush your users (but it’s okay to provide realistic pressure). Also, efficient user performance is its own usability benefit apart from accuracy.

For the test, try to come up with a task where the choice between OK and Cancel is naturalistic but you can tell definitively when the user is right or wrong (just in case there are some accuracy issues). For example, you could have a spell-check feature that goes through a body of text and sequentially presents via a dialog box each word that may need correction. By design, some words need to be corrected (user should select OK) and some should not (user should select Cancel). Correct and incorrect spellings should be obvious to anyone with reasonably good education in English in order to minimize variance.

Try to recruit users with various levels of Apple OSX versus other platform experience, and record each user’s experience with Apple and others (how often and how recently), and use that information as covariates in your analysis.

Analyze your results with inferential statistics. If no one on the team is comfortable doing inferential statistics, then get someone who is. Because button position may not make much difference, select a difference in accuracy and response time that is worth caring about and determine the sample size you’ll need to reliably detect that difference by performing a statistical power analysis using the variance from a few pilot-test users. Be prepared to run a lot of users.

Publish your results, preferably in a peer-review journal. I think we’d all want to know the answer.

share|improve this answer
    
Thanks for the informative response, Michael. Do you know of any good tools I can use to record the test that might help with measuring response time too? –  TJH Oct 4 '12 at 14:46
1  
You could use Psychology Software Tool’s E-Prime, but that may be overkill for this particular study. If you’re a programmer (or know one), you may be able to whip up a simple custom web app just as easily. You only have to show a series of pages and record user button selections. I believe Javascript getTime() can be used to compute response time. –  Michael Zuschlag Oct 5 '12 at 3:20

I would perform a user test, and see if the user encounters any problems at the stage they work with the dialog. There are other research methods, but they may not be reliable.

Directly asking a user where they'd expect to see something is fraught with danger. Users are not usually conscious of the decisions they make traversing an interface and their responses could be subject to cultural and linguistic preferences (the answer 'OK/Cancel' looks more "correct" in text than 'Cancel/OK' because it's more common, and typical convention to put longer words towards the end of English constructions).

A/B testing can work, but only if you know what you're measuring against. Did users click 'cancel' more on the right because that's where they were expecting it? Or did they actually expect an 'OK' button and you just made them lose their work? You can track time to completion (so you can see evidence of users being confused), but at this scale of design, the times involved might be slight and seeing a statistically significant variation would require large sample sizes.

Ultimately, I think there's no real substitute to speaking with real users in a test environment.

share|improve this answer

Do you have to put 'OK' and 'Cancel' on the buttons?

One of the problems with OK/Cancel in dialogs (and similarly, but worse, Yes/No) is that the user has to refer back to the original question to understand what the buttons will actually do. This is probably more of an issue than whether the OK or Cancel is on the left or the right. For example:

  • Are you sure you want to discard your changes? [OK / Cancel]
  • Are you sure you want to save and overwrite this file? [OK / Cancel]

In these examples the meanings of 'OK' and 'Cancel' are more or less the opposite of each other.

Even worse it the occasionally seen negative question:

  • Are you sure you don't want to save your changes? [Yes / No]

A better solution is to but the verb for the action that will actually performed on at least one of the buttons, if not both. For example:

[Save / Cancel], [Delete / Cancel], [Assign / Cancel]

When the 'second' option is more than just cancelling the first, I'd be inclined to label both buttons in this way. For example:

  • You haven't titled your email. Do you want to send it anyway? [Send / Keep Editing]

Now the options will generally make sense on their own terms, without reference to the original question.

share|improve this answer
1  
+1 Good points! –  Benny Skogberg MCSA Oct 4 '12 at 14:22
    
Excellent points - in this case I've actually changed all the buttons from OK/Cancel to more descriptive exactly the same as the examples you've given, e.g. Save/Cancel, Confirm Delete/Do not delete etc. - but a well raised point all the same! –  TJH Oct 4 '12 at 14:43
    
I prefer the labels to be as direct as possible. For example, I'd change [Confirm Delete / Do No Delete] to [Delete / Retain] or [Delete / Keep] or possibly just [Delete / Cancel] if the second option only implies non-deletion. –  Paul J. Lewis Oct 5 '12 at 11:39

A good argument for placing the "Ok" button on the right is made over at UX Movement, why ok buttons in dialog boxes work best on the right.

share|improve this answer
    
Thanks Julia, I'm actually looking for info relating to the testing of the buttons. I have seen that page though and it's very good. If it hasn't already been posted consider posting it on ux.stackexchange.com/questions/1072/ok-cancel-on-left-right –  TJH Oct 9 '12 at 7:52
    
Oh, good point. Sorry about that. And Jakob Nielsen's article doesn't add anything new either. :) –  Julia D Oct 10 '12 at 16:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.