You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LabelButtonsExpressively.asciidoc 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ---
  2. title: Label Buttons Expressively
  3. order: 67
  4. layout: page
  5. ---
  6. [[label-buttons-expressively]]
  7. = Label buttons expressively
  8. People don’t read dialog box messages. They just click _“OK”_ or _“Yes”_
  9. or whichever button that seems like the right choice to make the dialog
  10. go away, without reading, or at least without really thinking about what
  11. it's trying to tell them.
  12. What this means for UI design is that it’s important to label buttons in
  13. a way that clearly indicates the result of pressing them, in order to
  14. prevent users from making the wrong choice with potentially disastrous
  15. results.
  16. Most desktop applications display a dialog like this when you attempt to
  17. close them without first saving the document you were working on:
  18. image:img/save%20changes%201.png[Save changes dialog]
  19. Sometimes, however, the same question is expressed in a subtly different
  20. way:
  21. image:img/save%20changes%202.png[Save changes "Are you sure..."]
  22. Needless to say, the risk of choosing the wrong answer is quite
  23. substantial, unless you actually take the time to read through the
  24. message (which most users do not). Of course it helps to stick to the
  25. most common way of asking these kinds of questions, and being consistent
  26. at least within your own applications. But there is room for improvement
  27. here.
  28. If the options were labelled *_“Save”_ and _“Discard”_* or *_“Save
  29. first”_ and _“Quit without saving”_*, instead of a simple _“Yes”_ and
  30. _“No”_, all ambiguity suddenly disappears. Even if the user doesn’t read
  31. a word of the message itself, the effects of these options is quite
  32. clear:
  33. image:img/save%20changes%203.png[Save changes button]
  34. This principle doesn’t just apply to buttons in dialog boxes, though.
  35. Even in other areas of a user interface, expressive labelling of actions
  36. reduces ambiguity and makes users more confident in their work.
  37. Consider, for instance, *_“Post”_* or even *_“Post comment”_* instead of
  38. the typical _“Submit”_ for posting a comment on a blog. If your
  39. _“Cancel”_ button doesn’t actually cancel anything, but rather resets a
  40. form or reverts some changes, consider labelling it *_“Revert”_* or
  41. *_“Reset form”_* instead.
  42. Also try to keep the label as short as possible, and consider starting
  43. with a verb. That way the user probably picks the right choice even if
  44. he only reads the first word of the label.