New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to...

15
(Part 1) Interface Design Part of the wider field of Human Computer Interaction (HCI): Interaction of the user with computer software and hardware Includes topics such as: Principles of good design Specifics of WWW design Usability testing Styles of interaction Accessibility for people with disabilities Accommodation of human similarities and diversities Software development and usability engineering User-friendly is the common buzz word - good HCI is all about good design 2 Autumn 2014 ITNP43:Interface Design and the WWW

Transcript of New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to...

Page 1: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

(Part 1)

Interface Design

Part of the wider field of Human Computer Interaction (HCI): Interaction of the user with computer software and hardware Includes topics such as:

–  Principles of good design –  Specifics of WWW design –  Usability testing –  Styles of interaction –  Accessibility for people with disabilities –  Accommodation of human similarities and diversities –  Software development and usability engineering

�User-friendly� is the common buzz word - good HCI is all about good design

2 Autumn 2014 ITNP43:Interface Design and the WWW

Page 2: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Design

Guidance for designers falls into three general categories: –  High-level : Theories & models –  Middle-level : Principles –  Low-level : Specific practical guidelines

This design guidance is applicable to wide-ranging situations, not just software/interfaces.

Autumn 2014 ITNP43:Interface Design and the WWW 3

What is a Mental Model?

Autumn 2014 ITNP43:Interface Design and the WWW 4

Preece, Chapter 6

Think - How many windows are in the place where you grew up?

How did you reach an answer?

• If you mentally walked through the house, counting as you went, you have a mental model of the house.

Users form a mental model of what is going on when they use software.

�Running� the mental model enables us to answer questions and predict what will happen (sometimes!)

Page 3: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Two Main Types of Mental Models

Structural Models: –  How something is structured / built –  Understanding of the inner workings of the object –  Examples:

•  Bicycle brakes •  Repairers of appliances have structural mental models

Autumn 2014 ITNP43:Interface Design and the WWW 5

Two Main Types of Mental Models

Functional Models: –  How something functions –  Knowing how to interact with the object –  Examples:

•  TV / DVD •  Calculators •  Computer? Car? Mobile Phone? MP3 player? Washing machine?

Hoover? Dishwasher? …more and more of them

Autumn 2014 ITNP43:Interface Design and the WWW 6

Page 4: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Uses of Mental Models

Most users get by fine with functional models however when a new situation or a problem occurs, a structural model is more helpful for suggesting an appropriate course of action

–  The model will only help IF the user�s mental model is a true reflection of what is really the case

When we design, we must –  try to help the user to develop a productive mental model by

designing an interface that reflects that model –  refrain from performing actions that violate the model

Autumn 2014 ITNP43:Interface Design and the WWW 7

When a Mental Model goes Wrong!

Which thermostat setting should be chosen to warm up the room more quickly?

Autumn 2014 ITNP43:Interface Design and the WWW 8

Page 5: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Autumn 2014 ITNP43:Interface Design and the WWW 9

Mental Models in Software

A simple example: Text Editing Part of a user�s mental model is that text displayed is what is actually in the file

Autumn 2014 ITNP43:Interface Design and the WWW 10

Page 6: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Mental Models in Software

Other Examples: –  In painting/drawing programs, the user�s mental model includes

the idea that what is seen on the screen is actually what is in the image. Painting software must be careful that other graphics used on the screen during image creation are obviously not part of the image.

–  The mental model of files stored in a hierarchical directory structure helps us to organize our files. Files are not really stored in this way on the hard disk. One of the jobs of the operating system is to present files in such a way that this mental model is not violated.

Autumn 2014 ITNP43:Interface Design and the WWW 11

Middle-level Principles

Different sets of principles tend to address roughly the same issues. We look at Shneiderman�s guidelines:

–  Principle 1 : Recognise Diversity

–  Principle 2 : Follow the Eight Golden Rules

–  Principle 3 : Prevent Errors

Autumn 2014 ITNP43:Interface Design and the WWW 12

Page 7: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Principle 1: Recognise Diversity

This principle is sometimes referred to as �Know thy user� (which is a classic engineering principle). Simple, obvious (one would think!), yet difficult to assess in practice. �Recognise Diversity� does not necessarily mean �cater for all possible users�

–  �Know thy user� suggests that one should (where possible) tailor the interface to the needs of expected users.

We consider two useful ways to think about this:

–  Usage profiles –  Task profiles

Autumn 2014 ITNP43:Interface Design and the WWW 13

Recognise Diversity - Usage Profiles

What could be the background of the user? Different people have different requirements for their interaction with computers. Consider:

–  A 10-year old playing a computer game –  An elderly lady sending her first email to a friend –  A student surfing the web for some relevant material for a

report –  An employee using the company finance software

Autumn 2014 ITNP43:Interface Design and the WWW 14

Page 8: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Recognise Diversity - Usage Profiles

Factors for consideration: –  Age, gender, physical abilities, education, cultural background,

training, motivation, goals, personality… Also consider experience:

–  Novice users –  Knowledgeable intermittent users –  Expert frequent users

Autumn 2014 ITNP43:Interface Design and the WWW 15

Recognise Diversity - Task Profiles

Important to consider what users are trying to do! Analysis should consider needs of different types of users and common tasks performed. W W W examples:

–  Retrieval of specific information (e.g. picture of a rose, what does �trombe� mean?).

–  Purchasing a desired item –  Browsing a site to see what�s new

Autumn 2014 ITNP43:Interface Design and the WWW 16

Page 9: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Principle 2 �Follow the Eight Golden Rules

1.  Strive for consistency 2.  Enable frequent users to use shortcuts 3.  Offer informative feedback 4.  Design dialogues to yield closure 5.  Error prevention/handling 6.  Permit easy reversal of actions 7.  Support internal locus of control 8.  Reduce short-term memory load

Autumn 2014 ITNP43:Interface Design and the WWW 17

Shneiderman, Section 2.5

Eight Golden Rules�Consistency

It is very confusing if similar actions are performed differently in different pieces of software.

–  (this also increases memory load) Bad Example:

–  Website colours of visited links and unvisited links

Good Example: –  Windows control buttons

Autumn 2014 ITNP43:Interface Design and the WWW 18

Page 10: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Eight Golden Rules�Shortcuts

Experienced users greatly appreciate having quick ways to initiate actions.

–  Examples include reduction of movement from mouse to keyboard and vice versa.

–  Bad Example: •  Notepad did not use to provide a CTRL-S shortcut to save a file.

You thought you had saved your file but the application ignored you...

–  Good Example:

•  CTRL-X, CTRL-C, CTRL-V in Microsoft applications for cut, copy and paste (also satisfies consistency rule as well!)

Autumn 2014 ITNP43:Interface Design and the WWW 19

Eight Golden Rules�Feedback

The user should be able to see some result for every action performed.

–  Bad Example: •  Text editors that allow you to type whilst an auto-save is in

progress, but you can�t see anything on the screen for several seconds.

–  Good Example: •  Current colour selection in a painting program offers automatic

feedback if the user changes the colour.

Autumn 2014 ITNP43:Interface Design and the WWW 20

Page 11: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Eight Golden Rules�Closure

Design so that the user can see the beginning, middle and end of (non-instantaneous) actions.

–  Example - A progress bar

Autumn 2014 ITNP43:Interface Design and the WWW 21

Eight Golden Rules�Error Handling

If users make an error, the system should (as far as possible) inform the user and offer opportunities for correction.

Good Examples: –  If the user chooses an existing filename when saving a file, a

dialog box pops up to see whether the old file should be replaced or not.

–  Trying to leave a program without having saved work.

Autumn 2014 ITNP43:Interface Design and the WWW 22

Page 12: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Eight Golden Rules�Easy Reversal of Actions

Every user has performed actions they later wished they hadn�t. An UNDO button can be extraordinarily useful!

–  Note that undo buttons may reverse just the latest action, or may go backwards through a whole sequence.

Example:

–  The Back button in web browsers is a form of undo button; it is highly useful for navigational purposes and is the second-most commonly used feature in a browser.

Autumn 2014 ITNP43:Interface Design and the WWW 23

Eight Golden Rules�Feeling in Control

New users may well not feel in control as they are getting used to a system, but the experienced user strongly wants to feel in control. Users should be initiators of actions, not merely surprised (and annoyed) if software performs actions without the user�s knowledge or permission.

Bad examples from Microsoft Word 97: –  Hyperlinks automatically underlined and font-selected –  Pictures replaced by big red crosses

Autumn 2014 ITNP43:Interface Design and the WWW 24

Page 13: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Eight Golden Rules�Short-term Memory Load

Systems should not force the user to remember more than a small amount of information

–  (or force the user to have to look the information up each time)

–  Humans can only retain a small amount of information in short-term memory.

Examples:

–  Helpful pictures on buttons are good –  Unhelpful pictures on buttons are bad

Preece, Chapter 5

Autumn 2014 ITNP43:Interface Design and the WWW 25

Principle 3 �Prevent Errors

This is different from the 5th Golden Rule – it�s about prevention (better than cure!)

–  Errors can be prevented by good design. It is important to understand the types of mistakes that users make.

–  Good example: the design of USB memory sticks •  What happens if the user tries to insert the disk the wrong way?

–  Bad Example •  Putting DVDs into CD drives, putting CDs in upside-down…?

Autumn 2014 ITNP43:Interface Design and the WWW 26

Page 14: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Principle 3 �Prevent Errors

In particular, we can identify three useful techniques for software:

–  Correct matching pairs –  Complete sequences –  Command correction

Autumn 2014 ITNP43:Interface Design and the WWW 27

Prevent Errors�Correct Matching Pairs

Examples: Making some text <B>bold</B> will make too much text bold if the </B> is omitted or mistyped Program development environments often provide {} match checking, and colouring which shows up keywords, etc. Phrases used for bibliographic searches E.g. computers and (hci or multimedia)

Autumn 2014 ITNP43:Interface Design and the WWW 28

Page 15: New (Part 1) · 2014. 9. 5. · Shortcuts Experienced users greatly appreciate having quick ways to initiate actions. – Examples include reduction of movement from mouse to keyboard

Prevent Errors�Complete Sequences

Assistance can be provided for the user to complete a sequence of actions to perform a task Examples:

–  Changing all the footers on a set of slides. Rather than having to go through every single one, PowerPoint allows all to be changed at once.

–  Wizard that takes the user through the steps for installing new software

Autumn 2014 ITNP43:Interface Design and the WWW 29

Prevent Errors�Command Correction

Aim: trying to prevent users entering incorrect commands (or, more generally, making incorrect choices) Examples:

–  Automatic completion of text entries –  Graying-out of menu options or buttons –  Displaying filenames correctly:

Autumn 2014 ITNP43:Interface Design and the WWW 30