Measuring the User Experience

OK and Cancel Buttons

What's the Right Order?

by Tom Tullis
Originally posted February 28, 2008; Last modified March 29, 2008

Introduction

There's some debate among web designers, usability people, and other geeks who think about these kinds of things, about the correct order for "OK" and "Cancel" (or similar) buttons in a web application. There are several precedents that people point to:

So what's a web designer who has a need for "OK" and "Cancel" functions to do? First, let's clarify what is meant by these functions:

After some questions about the most appropriate order for these buttons on a web application came up on a usability-related email distribution list, I decided to conduct an online survey of usability and user experience professionals to see what order they think is best.

The Survey

The survey was built using SurveyMonkey. There were four questions, as illustrated here:

Survey Page 1 Survey Page 2 Survey Page 3 Survey Page 4

(Click on a page image to see a full-size version.)

There were two variables represented by the four questions and their associated images:

The order of listing of the labels (OK and Cancel, Submit and Cancel) was randomized to avoid biasing the respondents. As illustrated in page 3 above, the user was allowed to check only one response in each row and in each column.

A link to the survey was sent to the usability email distribution list and to an email list of web designers and user experience professionals in my company.

Results

The survey was live for about 24 hours, on parts of February 26 and 27, 2008. A total of 64 people responded. The results for each of the four questions were as follows:

Survey Page 1

 
A
B
OK
51%
49%
Cancel
50%
50%

 

Comments:

  • These are too close together.
  • But OK should be default
  • Other than when info is 'left-concentrated'
  • I'm just stuck on the windows standard.
  • Intended, or positive action first
  • Ok maps to moving forward, Cancel maps to Back...
  • windows convention
  • I'd prefer 'Back' to 'Cancel'. 'Cancel' seems too final
  • standard Windows practice for popups
  • Using "verso/recto" paradigm, B moves user to the next page.
  • I guess you could relate it to back and forward - back being to the left and forward to the right
  • i want the "submit" or whatever it's called that's taking me "forward" to be the furthest to the right. (like turning to the next page.)
  • In most of western civilization, we read right-to-left, top-to-bottom. Lower right should move forward positively.
  • Cancel is a label too often used in contexts where it ought not.
  • Our standard is progressive action on right.
  • it is a mac vs pc question. if i was on a mac i would have answered the other way
  • For right-handed users, OK on the right is often closer.
  • the right side is turning the page, moving forward, in our culture.
  • I beleive that cancel should be a link
  • Not just the comic strip, but everything on the Windows platform is OK/Cancel. OK on the left, Cancel on the right.
  • Meshes with standards set for Windows apps earlier on

Survey Page 2

 
A
B
OK
24%
76%
Cancel
76%
24%

 

Comments:

  • If you have to have a cancel button, that's where to put it.
  • But I would not put them so far apart unless they were paired with other buttons in some way.
  • Could go either way
  • The visual seperation is what does it for me here.
  • Ok=forward, Cancel = go back
  • Used to seeing them in this order
  • Again, 'Back' is preferred to 'Cancel'
  • because they're pushed toward the edges, they look more like navigation, thus right means continue, left means go back
  • I would never split the buttons this way.
  • I would expect this sort of separation to indicate something more like Prev, Next.
  • this makes no sense. "b" should be "next" no clue what "A" should be
  • Better than previous - separation will reduce mistakes
  • You can move them around, but they're still the same! This is not Previous/Next, it's OK/Cancel.
  • This is tricky. I assume this is within context of a wizard. In this case, i might advocate for A = Return to Previous Screen, and B = Next Step (to Step 2 of 6) etc.

Survey Page 3

 
A
B
Submit
42%
58%
Cancel
58%
42%

 

Comments:

  • Z-pattern scanning
  • Except when info is left-column-focused
  • This is a tough call, because there is an argument that the positive should be presented first but then you are inconsistent with the cancel
  • I don't like 'Cancel'!
  • How about Submit/Resist? [Smart alec!]
  • Submit=OK, so I'm not changing my answer.
  • Same principle as Ok/Cancel

Survey Page 4

 
A
B
Submit
24%
76%
Cancel
76%
24%

Comments:

  • Either
  • Same, similar comments as before.
  • again - this makes no sense. next and previous make sense with this set up
  • Same comment as #2. I'd only assume this design would only be used within a stepped process. Otherwise, it's just confusing.

Discussion

The most surprising result to me was for Question 1. With the buttons grouped together, and the "OK/Cancel" labels, respondents were evenly split in terms of which button should be "OK" and which should be "Cancel". Clearly there's not a consensus of any sort in the usability community about which way to go in this case.

The two designs that had the buttons separated (Questions 2 and 4) yielded the most consistent results. In both cases, the action to continue ("OK" or "Submit") was put by 76% of the respondents on the right, with the "Cancel" action on the left.

The design that had the buttons grouped together, and used the "Submit/Cancel" labels (Question 3) was in-between: 58% put "Submit" on the right and "Cancel" on the left, but 42% did the opposite. The difference from chance (50/50) only just reaches significance (Chi square, p=0.05).

Takeaways

My main takeaways from this survey are as follows:

There's an interesting article on a related topic by Luke Wroblewski about Primary and Secondary Actions in Web Forms which includes eye-tracking data.

Comments? Contact Tom@MeasuringUX.com.

Measuring UX Homepage