Docsity

Heuristic Evaluation: Using Guidelines to Identify Usability Issues in Interfaces, Lecture notes of Design

Partial preview of the text

Download Heuristic Evaluation: Using Guidelines to Identify Usability Issues in Interfaces and more Lecture notes Design in PDF only on Docsity!

Fall 2003 6.893 UI Design and Implementation 1

Lecture 5:

Heuristic Evaluation

Fall 2003 6.893 UI Design and Implementation 2

UI Hall of Shame or Hall of Fame?

This is the Windows XP Search Companion. It appears when you press the Search button on a Windows Explorer toolbar, and is primarily intended for finding files on your hard disk. An interesting feature of this interface is that, rather than giving a textbox for search keywords right away, it first asks you to specify what kind of file you’re looking for. There’s some logic to this design decision, because it turns out that different search criteria are appropriate for different kinds of files. For example, if you select “Picture, music, and video”, the next step of the dialog won’t both asking for a word or phrase inside the file, since these kinds of files are not textual. Similarly, if you select “Documents”, the next step of the dialog will ask not only for search keywords, but also for the approximate time since you last edited the file, since most documents are sought for editing purposes (while most media files are sought for playing purposes). Unfortunately, to a frequent user, the demand that you specify the file’s type first feels jarring and hard to answer. The categories are not disjoint, so the decision isn’t always easy. Are HTML files and simple text files included in “Documents”, or only Microsoft Office files? Some of the categories are bizarre – “computers or people”? Why is “Internet” a completely separate category, and why does Help get a different icon than the rest? Perhaps the worst problem in the category list is that the answer that frequent users are most likely to want – “All files and folders”, to be sure that the search won’t miss anything – is actually buried in the middle of the list, where it’s hardest to find and click. This interface is clearly designed for novice users. Hence the wizard design, a fixed sequence of carefully guided steps. And hence the cute animated cartoon dog, which some people in class found condescending by its mere presence. It’s still an open question whether cartoon characters like this dog and the Paperclip are more helpful or harmful to good user interface design. So far, experiments with characters in serious commercial interfaces (designed for productivity rather than entertainment) have been largely unsuccessful. The animated dog does have one advantage: it’s a very visible mode status indicator. You won’t accidentally leave the Windows Explorer in search mode, because the dog will get your attention and motivate you to find a way to get rid of it -- which is not trivial, since there’s no obvious Cancel button. Another problem with this wizard is that the Back button on toolbar is easy to confuse with the Back button in the dialog. The user thinks “this isn’t what I want, I’ll go Back”, but then reaches habitually for the Back button in the toolbar, which backs up the main Explorer window instead of the Search Companion pane. This is probably a capture error , because of the effect of habit, but it also has some features of a description error. It turns out that “Change preferences” leads to a menu where you can turn off the dog. He doesn’t disappear instantly, but turns insouciantly and trots off in a huff. The preferences menu also offers an Advanced mode which automatically defaults to searching all files & folders. This mode has a strongly-worded warning, “Recommended for advanced users only”, even though all it actually does is rearrange the sequencing of the dialog.

Fall 2003 6.893 UI Design and Implementation 4

Internet Search for Novices

Here’s how the Windows XP dog presents Internet search to novice users. One interesting feature is the example question: “Find art information.” Google could probably benefit from an example or two on its home page.

Fall 2003 6.893 UI Design and Implementation 5

Class Projects

  1. Star Logo Blocks
  2. Social Networks from Fiction
  3. Antichess.net
  4. Market Liquidity
  5. SKINNI Smart Kiosk
  6. Comparative Genome
  7. StreamIt Editor
  8. Example-Centric Programming
  9. File Sharing for Friends
  10. Interactive Course Manager
  11. Interactive Phrasebook
  12. PowerPoint Sketching
  13. FrontDesk
  14. Directed Sketch Interpretation
    1. Recipe Organizer
    2. Room Layout
    3. Multi-Document Editing
    4. Text-tree Synchronization for Alloy
    5. Google URL Generator
    6. Human Intelligible Positioning
    7. LAPIS Pattern Editing
    8. Digital Photo Browser
    9. Foreign Language Tutor
    10. Network Security Analysis Tool
    11. Video Collection

In case you’re curious, here are the projects that your classmates are working on. You’ll have several opportunities to see what everybody is doing: some in paper prototype testing in 2 weeks, others when you do heuristic evaluation of computer prototypes, and all of them in the final presentations at the end of the course.

Incidentally, the original version of this slide used bullets instead of numbers. Then I thought about one natural question that people would ask – how many projects are there? Although it’s possible to answer that question from a bulleted list, it’s trivial when the list is numbered. Every kind of communication you do has a user interface, whether it’s a talk or a paper or a homework assignment. The effectiveness of a communication is strongly influenced by its usability.

Fall 2003 6.893 UI Design and Implementation 7

Usability Guidelines (“Heuristics”)

  • Plenty to choose from
    • Nielsen’s 10 principles
      • One version in his book
      • A more recent version on his website
    • Tognazzini’s 16 principles
    • Norman’s rules from Design of Everyday Things
    • Mac, Windows, Gnome, KDE guidelines
  • Help designers choose design alternatives
  • Help evaluators find problems in interfaces

(“heuristic evaluation”)

Usability guidelines, or heuristics , are rules that distill out the principles of effective user interfaces. There are plenty of sets of guidelines to choose from – sometimes it seems like every usability researcher has their own set of heuristics. Most of these guidelines overlap in important ways, however. The experts don’t disagree about what constitutes good UI. They just disagree about how to organize what we know into a small set of operational rules.

For the basis of this lecture, we’ll use Jakob Nielsen’s 10 heuristics, which can be found on his web site. (An older version of the same heuristics, with different names but similar content, can be found in his Usability Engineering book, one of the recommended books for this course.) Another good list is Tog’s First Principles (find it in Google), 16 principles from Bruce Tognazzini that include affordances and Fitts’s Law. In the last lecture, we talked about some design guidelines proposed by Norman: visibility, affordances, constraints, feedback, and so on.

Platform-specific guidelines are also important and useful to follow. Platform guidelines tend to be very specific, e.g. you should have a File menu, and there command called Exit on it (not Quit, not Leave, not Go Away). Following platform guidelines ensures consistency among different applications running on the same platform, which is valuable for novice and frequent users alike. However, platform guidelines are relatively limited in scope, offering solutions for only a few of the design decisions in a typical UI.

Heuristics can be used in two ways: during design, to choose among different alternatives; and during evaluation, to find and justify problems in interfaces.

Fall 2003 6.893 UI Design and Implementation 8

1. Match the Real World

  • Use common words,

not techie jargon

  • But use domain-specific terms where appropriate
  • Don’t put limits on user-

defined names

  • Allow aliases/synonyms

in command languages

  • Metaphors are useful

but may mislead

Source: Interface Hall of Shame

Let’s start by looking at each of Nielsen’s 10 heuristics in detail.

First, the system should match the real world of the user’s experience as much as possible. Nielsen’s original name for this heuristic was “Speak the user’s language”, which is a good slogan to remember. If the user speaks English, then the interface should also speak English, not Geekish. Technical jargon should be avoided. Use of jargon reflects aspects of the system model creeping up into the interface model, unnecessarily. How might a user interpret the dialog box shown here? One poor user actually read type as a verb, and dutifully typed M-I-S-M-A-T-C-H every time this dialog appeared. The user’s reaction makes perfect sense when you remember that most computer users do just that, type , all day. But most programmers wouldn’t even think of reading the message that way. Yet another example showing that You Are Not The User.

Technical jargon should only be used when it is specific to the application domain and the expected users are domain experts. An interface designed for doctors shouldn’t dumb down medical terms. If an interface allows users to name things, then users should be free to choose long, descriptive names. Artificial limits on length or content should be avoided. DOS used to have a strong limit on filenames, an 8 character name and a 3 character extension. Echoes of these limits persist in Windows even today.

When designing an interface that requires the user to type in commands or search keywords, support as many aliases or synonyms as you can. Different users rarely agree on the same name for an object or command. One study found that the probability that two users would mention the same name was only 7-18%. (Furnas et al, “The vocabulary problem in human-system communication,” CACM v30 n11, Nov. 1987).

Metaphors are one way you can bring the real world into your interface. A well-chosen, well-executed metaphor can be quite effective and appealing, but be aware that metaphors can also mislead. A computer interface must deviate from the metaphor at some point -- otherwise, why aren’t you just using the physical object instead? At those deviation points, the metaphor may do more harm than good. For example, it’s easy to say “a word processor is like a typewriter,” but you shouldn’t really use it like a typewriter. Pressing Enter every time the cursor gets close to the right margin, as a typewriter demands, would wreak havoc with the word processor’s automatic word-wrapping.

Fall 2003 6.893 UI Design and Implementation 10

3. Help and Documentation

  • Users don’t read manuals
    • Prefer to spend time working toward their task

goals, not learning about your system

  • But manuals and online help are vital
    • Usually when user is frustrated or in crisis
  • Help should be:
    • Searchable
    • Context-sensitive
    • Task-oriented
    • Concrete
    • Short

The next heuristic is (good) Help and Documentation. The sad fact about documentation is that most users simply don’t read it, at least not before they try the interface. As a result, when they finally do want to look at the manual, it’s because they’ve gotten stuck. Good help should take this into account.

A good point was raised in class that exclusively task-oriented help (which has largely taken over in Microsoft Windows) makes it impossible to get a high-level overview of an interface from the manual. So it’s possible to go too far.

Google’s start page (shown at the beginning of this lecture) fails this heuristic. It lacks even a simple description of its purpose, omits control labels, and buries the link to Help.

Fall 2003 6.893 UI Design and Implementation 11

4. User Control and Freedom

  • Provide undo
  • Long operations should be cancelable
  • All dialogs should have a cancel button

Source: Interface Hall of Shame

This heuristic used to be called “Clearly Marked Exits” in Nielsen’s old list. Users should not be trapped by the interface. Every dialog box should have a cancel button (where is it in this CuteFTP dialog box?), and long operations should be interruptible.

Users should be able to explore the interface without fear of being trapped in a corner. Undo is a great way to support exploration.

Fall 2003 6.893 UI Design and Implementation 13

6. Flexibility and Efficiency

  • Provide shortcuts for frequent operations
    • Keyboard accelerators
    • Command abbreviations
    • Styles
    • Bookmarks
    • History

Source: Interface Hall of Shame

This heuristic used to be called “Shortcuts.” Frequent users need and want them.

Recently-used history is one very useful kind of shortcut, like this recently-used files menu.

Fall 2003 6.893 UI Design and Implementation 14

7. Error Prevention

  • Selection is less error-prone than typing
    • But don’t go overboard…
  • Disable illegal commands
  • Avoid modes

Source: Interface Hall of Shame

Now we get into heuristics about error handling. Since humans make errors if they’re given a chance, the best solution is to prevent errors entirely.

One way to prevent errors is to allow users to select rather type. Misspellings then become impossible. This attitude can be taken to an extreme, however, as shown in this example.

If a command is illegal in the current state of the interface – e.g., Copy is impossible if nothing is selected – then the command should be disabled (“grayed out”) so that it simply can’t be selected in the first place.

We talked about a number of errors last lecture (capture, description, mode) and ways to solve them. Description errors can be fought off by studious application of the Consistency heuristic: if different things look and act different, it will be harder to make description errors between them. Modes should be avoided, made temporary or spring-loaded, or at the very least, visibly distinguished.

Fall 2003 6.893 UI Design and Implementation 16

9. Error Reporting, Diagnosis, and Recovery

  • Be precise; restate user’s input
    • Not “Cannot open file”, but “Cannot open file named paper.doc”
  • Give constructive help
    • why error occurred and how to fix it
  • Be polite and nonblaming
    • Not “fatal error”, not “illegal”
  • Hide technical details (stack trace) until requested

Source: Interface Hall of Shame

If you can’t prevent the error, give a good error message. A good error message should (1) be precise; (2) speak the user’s language, avoiding technical terms and details unless explicitly requested; (3) give constructive help; and (4) be polite. The message should be worded to take as much blame as possible away from the user and heap the blame instead on the system. Save the user’s face; don’t worry about the computer’s. The computer doesn’t feel it, and in many cases it is the interface’s fault anyway for not finding a way to prevent the error in the first place.

The tooltip shown here came from a production version of AutoCad! As the story goes, it was inserted by a programmer as a joke, but somehow never removed before release.

Fall 2003 6.893 UI Design and Implementation 17

10. Aesthetic and Minimalist Design

  • “Less is More”
    • Omit extraneous info, graphics, features
  • Good graphic design
    • Few, well-chosen colors and fonts
    • Follow color guidelines
    • Group with whitespace
    • Align controls sensibly
  • Use concise language
    • Choose labels carefully

Source: Interface Hall of Shame

The final heuristic is a catch-all for a number of rules of good graphic design, which really boil down to one word: simplicity. Leave things out unless you have good reason to include them. Don’t put more help text on your main window than what’s really necessary. Leave out extraneous graphics. Most important, leave out unnecessary features. If a feature is never used, there’s no reason for it to complicate your interface.

Use few, well-chosen colors. The toolbars at the top show the difference between cluttered and minimalist color design. The first toolbar is full of many saturated colors. It’s not only gaudy and distracting, but actually hard to scan. The second toolbar, from Microsoft Office, uses only a handful of colors – black, white, gray, blue, yellow. It’s muted, calming, and the few colors are used to great effect to distinguish the icons. The whitespace separating icon groups helps a lot too.

The dialog box shows how cluttered and incomprehensible a layout can look when controls aren’t aligned. We’ll look at graphic design in more detail in a future lecture.

Fall 2003 6.893 UI Design and Implementation 19

Heuristic Evaluation

  • Performed by an expert
  • Steps
    • Inspect UI thoroughly
    • Compare UI against heuristics
    • List usability problems
      • Explain & justify each problem with heuristics

One application of these 10 heuristics is a usability inspection process called heuristic evaluation. Heuristic evaluation was originally invented by Jakob Nielsen, and you can learn more about it on his web site. Nielsen has done a number of studies to evaluate the effectiveness of heuristic evaluation. Those studies have shown that heuristic evaluation’s cost-benefit ratio is quite favorable; the cost per problem of finding usability problems in an interface is generally cheaper than alternative methods.

Heuristic evaluation is an inspection method. It is performed by a usability expert – someone who knows and understands the heuristics we’ve just discussed, and has used and thought about lots of interfaces.

The basic steps are simple: the evaluator inspects the user interface thoroughly, judges the interface on the basis of the heuristics we’ve just discussed, and makes a list of the usability problems found – the ways in which individual elements of the interface deviate from the usability heuristics.

The Hall of Fame and Hall of Shame discussions we have at the beginning of each class are informal heuristic evaluations. In particular, if you look back at previous lecture notes, you’ll see that most of the usability problems are justified by appealing to a heuristic.

Fall 2003 6.893 UI Design and Implementation 20

How To Do Heuristic Evaluation Right

  • Justify every problem with a heuristic
    • “Too many choices on the home page – Aesthetic & Minimalist Design”
    • Can’t just say “I don’t like the colors”
  • List every problem
    • Even if an interface element has multiple problems
  • Go through the interface at least twice
    • Once to get the feel of the system
    • Again to focus on particular interface elements
  • Don’t limit yourself to the 10 heuristics
    • We’ve seen others: affordances, constraints, visibility of parts, Fitts’s Law, perceptual fusion, color principles
    • But the 10 heuristics are easier to compare against

Let’s look at heuristic evaluation from the evaluator’s perspective. That’s the role you’ll be adopting in problem set 2, and you’ll also serve as heuristic evaluators for each others’ computer prototypes in a few weeks.

Here are some tips for doing a good heuristic evaluation. First, your evaluation should be grounded in known usability guidelines. You should justify each problem you list by appealing to a heuristic, and explaining how the heuristic is violated. This practice helps remove most of the (inevitable) subjectivity involved in inspections: You can’t just say “that’s an ugly yellow color.” (If it’s really yucky, you should pass that subjective opinion back to the design team, but you’ll be forced to identify it as subjective if you can’t find a heuristic to justify it.)

List every problem you find. If a button has several problems with it – inconsistent placement, bad color combination, confusing label – then each of those problems should be listed separately. Some of the problems may be more severe than others, and some may be easier to fix than others. It’s best to get all the problems on the table in order to make these tradeoffs. Inspect the interface at least twice. The first time you’ll get an overview and a feel for the system. The second time, you should focus carefully on individual elements of the interface, one at a time.

Finally, although you have to justify every problem with a guidelines, you don’t have to limit yourself to the Nielsen 10. We’ve seen a number of specific usability principles that can serve equally well: affordances, Fitts’s Law, perceptual fusion, color guidelines are a few. We’ll see still more guidelines in the lecture on graphic design. The Nielsen 10 are helpful in that they’re a short list that covers a wide spectrum of usability problems. For each element of the interface, you can quickly look down the Nielsen list to guide your thinking.