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.4KB

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