constraints and errors an ounce of prevention…. outline part 1 comments recap norman about errors...

40
Constraints and Errors An ounce of prevention…

Post on 20-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Constraints and Errors

An ounce of prevention…

Page 2: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Outline

Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error recovery guidelines

Page 3: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Project part 1 comments

Think of the overall goals, motivations, and desires of the usersPhotos can be highly emotionalLook for inspiration in physical worldMay suggest different aspects of the

design space, metaphors, etc. Narrow down usability criteria

Eventually want to come up with testable statements

Page 4: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Recall: Norman Design Concepts

Affordances Visibility Conceptual models Mapping Feedback Constraints

Page 5: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Affordances

Page 6: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Affordances

Page 7: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Mappings: Input

Page 8: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Mappings: Output

Page 9: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Constraints

Limitations on what can be donePhysical - keysSemantic - menu grayingCultural - ColorsLogical - When all above don’t apply

Page 10: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Constraints

Page 11: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Simple Example

What if both sides were “big” and you had toremember which side the “small” one went into?

Electric plugs

Page 12: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Knowledge in Head vs. Knowledge in the World

Head Not easy to retrieve Learning required, good

conceptual model makes easier

Can be very efficient Not easy first time Aesthetics do not need

to make info visible

World Easy to retrieve No learning, only

interpretation Use slowed by need to

find the info to interpret Easy for first time Can be cluttered or

inelegant

Page 13: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Errors - Three Considerations

Avoiding and preventing Identifying and understanding Handling and recovering

Page 14: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Why errors are important

Errors are unavoidableTo err is humanMaking mistakes is part of learning

Designer’s responsibilityUnderstand why errors occurMinimize likelihoodAllow for recognition of error and graceful

recovery (forward or backward)

Page 15: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Example Studies – Errors Happen! 170 experienced UNIX users over 9 days

Individual commands had error rates of 3-50%

300 security system users over 20 months 12,117 error messages Most common 11 errors -> 65% 2517 involved repeated errors (with no non-

errors in between) within 10 minutes Bad error recovery/help

Kraut et al, CHI ‘83

Mosteller & Ballas, Human Factors ‘89

Page 16: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

User-Computer Dialog

Three phasesRead-scan phase -- Perceptual errorsThink phase -- Cognitive errorsRespond phase -- Motor errors

Page 17: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Perceptual Errors

Result from insufficient or poor perceptual cuesDisplay of objects that are visually

similarInvisible or poorly expressed statesFailure to capture user’s attentionLack of perceivable feedback

Page 18: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Cognitive Errors

Caused by taxing the memory and problem solving capabilitiesTax recall memoryLack of or poor mnemonic aidsInconsistencyLack of context or status info

• e.g., where came from in a menuMental calculations and translations

Page 19: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Motor Errors

Taxing the eye-hand coordination and motor skillsAwkward motor movementsHighly similar motor sequences

• e.g., double click, click

Pressure for speedRequire a high degree of hand-eye

coordinationRequiring special types of motor skills

(type)

Page 20: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Mistakes and Slips

Mistakes (hopefully avoidable) Wrong intentionIncorrect mental model Novice behavior

Slips (unavoidable)Wrong executionSkilled behavior

Page 21: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Moral …

… slips happen

Page 22: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Types of Slips

1. Capture error - Continue frequently done activity instead of intended one (similar starts)Confirm deletion of file instead of cancel

2. Description error - Intended action has much in common with others possible (usually when distracted, close proximity)shift key & caps lock key

Page 23: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Types of Slips

3. Data driven error - Triggered by arrival of sensory info which intrudes into normal actionCall to give someone a number, dial that

number instead 4. Associative activation - Internal

thoughts and associations trigger actionPhone rings, yell “come in”

Page 24: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Types of Slips

5. Loss of activation - Forgetting goal in middle of sequence of actionsStart going into room, then forget why

you’re going there 6. Mode errors - Do action in one mode

thinking you’re in anotherDelete file, but you’re in wrong directory

Page 25: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

What to do?

As much as possiblePrevent mistakesAllow recovery from slips

Page 26: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Prevention Guidelines

Eliminate modes or provide visible cues for modes - no invisible modes

Use good coding techniques (color, style)

Maximize recognition, minimize recall Design non-similar motor sequences

for commands Minimize need for typing

Page 27: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Prevention Guidelines

Test and monitor for errors and engineer them out

Allow reconsideration of action by user (e.g., removing file from trash)

Avoid ambiguous and unclear prompts and messages - as in next set of examples!

Page 28: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Great Examples

Page 29: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Recovery Guidelines

Provide appropriate type of responseGag - Prevent user from continuing

• Erroneous loginWarn - Warn user an unusual situation

is occurring• Bell or alert box

Nothing - Don’t do anything (Careful, user must determine problem)

• move file to bad place

Page 30: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Recovery Guidelines

Responses (continued)Self-correct - Guess correct action &

do it• Spell-check correction

Dialog - System opens dialog with user

• Go into debugger on run-time crash

Page 31: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Recovery Guidelines

Provide undo function Provide cancel function from

operations in progress Require confirmation for drastic,

destructive commands Provide reasonableness checks on

input dataDid you really mean to order 5000?

Page 32: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Recovery Guidelines

Return cursor to error field, allow fix Provide some intelligence

Guess what they wanted to do Provide quick access to context-

sensitive help

Page 33: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Message - What to Say Error: Error code -37 Description: Disk full Prescription: Disk full; recover disk

space Prescription + aid: Disk full; recover

space by deleting files or defragmenting

Prescription + offer: Disk full; proceed with disk defragmentation? Otherwise delete files.

Page 34: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

How Does This Example Fit In?

Page 35: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Message Wording - Vocabulary Problem with previous example -

some users will not know what defragmentation means!!

VocabularyUser-orientedDefined in advance for commonality

throughout all messages (in style guide)

Alternatives to defragmentation ?

Page 36: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Error Message Wording - Tone

Sorry, command not recognized Command not recognized :-( Command not recognized Command not recognized!!

Page 37: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Or Even Worse

Illegal command Illegal command! ILLEGAL COMMAND !@#& ILLEGAL COMMAND!

Which may suggestto some users …

Page 38: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Implications for design

Scenarios should include errors !!! Distinguish between skilled and

learner errors Uncover errors in the existing system

how do people self-monitor (cheat sheets)

Page 39: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Assignment 7

Think of 3 possible errors in your project applications

List how you might prevent or recover Develop scenario based on one error.

Page 40: Constraints and Errors An ounce of prevention…. Outline Part 1 comments Recap Norman About errors Mistakes and slips Error prevention guidelines Error

Storyboards!