{"id":882,"date":"2009-03-08T00:40:26","date_gmt":"2009-03-07T23:40:26","guid":{"rendered":"http:\/\/www.jurecuhalev.com\/blog\/?p=882"},"modified":"2009-03-08T00:40:26","modified_gmt":"2009-03-07T23:40:26","slug":"the-great-okcancel-button-dilemma","status":"publish","type":"post","link":"https:\/\/www.jurecuhalev.com\/blog\/the-great-okcancel-button-dilemma\/","title":{"rendered":"The great OK\/Cancel button dilemma"},"content":{"rendered":"<p>Today I created a simple web form. So simple indeed that it has only three design elements:<\/p>\n<div class=\"zemanta-img\" style=\"margin: 1em; display: block;\">\n<div>\n<dl class=\"wp-caption alignright\" style=\"width: 250px;\">\n<dt class=\"wp-caption-dt\"><a href=\"http:\/\/www.flickr.com\/photos\/89819035@N00\/2497303533\"><img loading=\"lazy\" decoding=\"async\" title=\"Turquoise Ceramic Buttons\" src=\"http:\/\/farm3.static.flickr.com\/2052\/2497303533_e570c26617_m.jpg\" alt=\"Turquoise Ceramic Buttons\" width=\"240\" height=\"197\" \/><\/a><\/dt>\n<dd class=\"wp-caption-dd zemanta-img-attribution\" style=\"font-size: 0.8em;\">Image by <a href=\"http:\/\/www.flickr.com\/photos\/89819035@N00\/2497303533\">panavatar<\/a> via Flickr<\/dd>\n<\/dl>\n<\/div>\n<\/div>\n<ul>\n<li>input field<\/li>\n<li>OK button, in this case labeled &#8220;Save&#8221;<\/li>\n<li>Cancel button<\/li>\n<\/ul>\n<p>Since I&#8217;m always confused about the order of OK \u00a0&#8211; Cancel buttons (you, should it be OK \/ Cancel or Cancel \/ OK), I checked a few dialogs around my OS X and they all read Cancel \/ OK.<\/p>\n<p>I personally\u00a0prefer\u00a0the second option, as I usually like to confirm my dialog boxes and it&#8217;s much easier to hit OK in down right corner vs. finding the item next to it.<\/p>\n<p>Second choice it&#8217;s probably that I&#8217;m brainwashed from seeing this choice all the time on my Mac.<\/p>\n<p>After showing my choices to the <em>person in charge<\/em>, I got the obvious feedback: &#8220;Reverse the Cancel \/ OK button&#8221;.<\/p>\n<p><strong>Fine! <\/strong>(I change the button order and go looking in various <a class=\"zem_slink\" title=\"Human interface guidelines\" rel=\"wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Human_interface_guidelines\">HIG<\/a> documents).<\/p>\n<p>Here are results:<\/p>\n<p><a href=\"http:\/\/developer.apple.com\/documentation\/UserExperience\/Conceptual\/AppleHIGuidelines\/XHIGLayout\/chapter_20_section_2.html#\/\/apple_ref\/doc\/uid\/TP30000360-CHDBBEIG\">Apple&#8217;s HIG states<\/a>:<\/p>\n<blockquote><p>Always put the action button in the bottom-right corner of the alert. This is the button that completes the action that the user initiated before the alert was displayed.\u00a0[ed. note: this would make it <strong>Cancel \/ OK<\/strong>]<\/p><\/blockquote>\n<p><a href=\"http:\/\/library.gnome.org\/devel\/hig-book\/stable\/windows-alert.html.en\">GNOME&#8217;s HIG states<\/a>:<\/p>\n<blockquote><p>Show a\u00a0<span class=\"guibutton\">Cancel<\/span> button that will prevent authentication and close the alert. Place this button to the immediate left of the\u00a0<span class=\"guibutton\">OK<\/span> or equivalent button. [ed. note: this would make it <strong>Cancel \/ OK<\/strong>]<\/p><\/blockquote>\n<div><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa511266.aspx\">Microsoft&#8217;s HIG states:<\/a><\/div>\n<blockquote>\n<div><strong>Place command buttons that apply to all property pages at the bottom of the property window.<\/strong> Right-align the buttons and use this order (from left to right): OK, Cancel, and Apply. [ed. note: this makes it <strong>OK \/ Cancel<\/strong>]<\/div>\n<\/blockquote>\n<div><a href=\"http:\/\/usability.kde.org\/\">KDE&#8217;s HIG doesn&#8217;t state anything<\/a> (or at least I couldn&#8217;t find it), but it seems that it standardizes on <strong>OK \/ Cancel<\/strong>.<\/div>\n<div><\/div>\n<div>So here we have two camps. The OK \/ Cancel one is clearly bigger because of the whole Windows platform using this convention. I&#8217;ll leave out different argumentations out of this document, as it&#8217;s kind of a holy war between certain UX factions.<\/div>\n<div><\/div>\n<div>Interesting thing with this issue is that <strong>it doesn&#8217;t matter, as long as you standardize<\/strong>. Nobody managed to measure any difference as long as it was the same across the whole environment.<\/div>\n<div><\/div>\n<div>But what to do in case of Web applications, where you can&#8217;t standardize the whole Internet? <a href=\"http:\/\/www.useit.com\/alertbox\/ok-cancel.html\">Jakob Nielsen<\/a> thinks that you should go with the option that is natural to more of your users.<\/div>\n<div><\/div>\n<div>At the end of the day, this translates to <strong>use OK \/ Cancel<\/strong> as majority of your users will probably be on Windows or KDE, unless you&#8217;re running some kind of OS specific niche site. Even then you should only switch if you&#8217;re working for OS X crowd as you can&#8217;t really know Window Manager usage distribution of your users.<\/div>\n<div><\/div>\n<div><em>What about you? Do you OK \/ Cancel or Cancel \/ OK things? Or are you just constantly twitching because that OK never feels right?<\/em><\/div>\n<div class=\"zemanta-pixie\" style=\"margin-top: 10px; height: 15px;\"><a class=\"zemanta-pixie-a\" title=\"Zemified by Zemanta\" href=\"http:\/\/reblog.zemanta.com\/zemified\/0ec5557f-46d2-4ee6-afed-70db290a0a27\/\"><img decoding=\"async\" class=\"zemanta-pixie-img\" style=\"border: none; float: right;\" src=\"http:\/\/img.zemanta.com\/reblog_e.png?x-id=0ec5557f-46d2-4ee6-afed-70db290a0a27\" alt=\"Reblog this post [with Zemanta]\" \/><\/a><span class=\"zem-script more-related\"><script src=\"http:\/\/static.zemanta.com\/readside\/loader.js\" type=\"text\/javascript\"><\/script><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today I created a simple web form. So simple indeed that it has only three design elements: Image by panavatar via Flickr input field OK button, in this case labeled &#8220;Save&#8221; Cancel button Since I&#8217;m always confused about the order of OK \u00a0&#8211; Cancel buttons (you, should it be OK \/ Cancel or Cancel \/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,41],"tags":[23,702,700,661,701],"class_list":["post-882","post","type-post","status-publish","format-standard","hentry","category-ideas","category-usability","tag-apple","tag-gnome","tag-human-interface-guidelines","tag-kde","tag-microsoft"],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/comments?post=882"}],"version-history":[{"count":3,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/882\/revisions"}],"predecessor-version":[{"id":885,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/882\/revisions\/885"}],"wp:attachment":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/media?parent=882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/categories?post=882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/tags?post=882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}