Spring 20116.813/6.831 User Interface Design and Implementation1 Lecture 5: Errors & User Control Make sure you’re registered for the right course! 6.813.

Slides:



Advertisements
Similar presentations
Lesson 12 Getting Started with Excel Essentials
Advertisements

 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
Tutorial 8: Developing an Excel Application
Chapter 07: Lecture Notes (CSIT 104) 1111 Exploring Microsoft Office Excel 2007 Chapter 7 Data Consolidation, Links, and Formula Auditing.
COMPREHENSIVE ICT Document Preparation System Mr.S.Sajiharan Computer Unit Faculty of Arts and Culture South Eastern University of Srilanka.
Microsoft Windows Vista Chapter 6 Customizing Your Computer Using the Control Panel.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Project 1 Using a Design Template and Text Slide Layout to Create a Presentation.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 1 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
XP 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Project 1 Creating and Editing a Word Document.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 2: Constructing Cell Data.
Key Applications Module Lesson 12 — Word Essentials
Spring /6.831 User Interface Design and Implementation1 Lecture 6: User-Centered Design GR1 (project proposal & analysis) released today, due.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Word Basics Unit 2 - Editing Elizabeth Ponder Palestine Public Library Adult Services.
Word Tutorial 1 Creating a document.
Microsoft Office Word 2003 Tutorial 1 Creating a Document.
1 Lesson 6 Exploring Microsoft Office 2007 Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
1 Essential Worksheet Operations Applications of Spreadsheets.
Spring /6.831 User Interface Design and Implementation1 Lecture 3: Visibility.
Key Applications Module Lesson 16 — Excel Essentials Computer Literacy BASICS.
Getting Started with Application Software
Microsoft Office 2003 Illustrated Brief Document Creating a.
XP New Perspectives on Microsoft Excel 2002 Tutorial 1 1 Microsoft Excel 2002 Tutorial 1 – Using Excel To Manage Financial Data.
Chapter 4—Creating your First Document
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 10 Creating and Formatting an Excel Worksheet.
1 2 Lab 2: Organizing Your Work. 2 Competencies 3 After completing this lab, you will know how to: 1. Use Explorer to manage files. 2. Copy files. 3.
SWE205 Review Spring Why is software unusable? Users are no longer trained. Why? Feature creep Inherently hard: a problem of communication Designed.
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
GUI Widgets Jeff Offutt SWE 432 Design and Implementation of Software for the Web.
Exploring Word Grauer and Barber1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: What Will Word Processing Do For Me? Robert.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: What Will Word Processing Do For Me? BCIS 1405 Session # 5 Exploring Microsoft Word.
COMPREHENSIVE An Introduction to Microsoft Word 2007.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Project 1 Creating and Editing a Word Document.
Productivity Programs Common Features and Commands.
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
Key Applications Module Lesson 21 — Access Essentials
Copyright 2002, Paradigm Publishing Inc. CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Worksheet Elements Worksheet Elements Worksheet Area Elements Worksheet.
1 Lesson 13 Editing and Formatting documents Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
COMPREHENSIVE Word Tutorial 1 Creating a Document COM111 Introduction to Computer Applications.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
CREATING A DOCUMENT Using MS Word Presented by Dr. Ennis-Cole.
Chapter Three The UNIX Editors.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Copyright © 2006 Prentice-Hall. All rights reserved.1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Project 2: Creating and Editing Files.
CHAPTER 10 Creating a Word Document. Learning Objectives Enter text Undo and redo actions Create documents based on existing documents Select text Edit.
NetTech Solutions Troubleshooting Office Applications Lesson Seven.
The Excel model for information processing The Excel model is a grid of cells in which items of information are stored and processed. Any information that.
Fall UI Design and Implementation1 Lecture 5: Design Principles.
Fall UI Design and Implementation1 Lecture 15: Undo.
1. Chapter 1 Creating, Printing, and Editing Documents.
Fall 2002CS/PSY Preventing Errors An Ounce of Prevention Errors  Avoiding and preventing  Identifying and understanding  Handling and recovering.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 18 Getting Started with Excel Essentials 1 Morrison / Wells / Ruffolo.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Exploring Microsoft Word
Creating a Word Document – Part 1
Exploring Microsoft Word
Lesson 18 Getting Started with Excel Essentials
Creating a Word Document – Part 1
New Perspectives on Windows XP
Word Tutorial 1 Creating a Document
Lesson 13 Editing and Formatting documents
CS 422: UI Design and Programming
Exploring Microsoft Word 2003
Word Tutorial 1 Creating a Document
Exploring Microsoft Word 2003
Presentation transcript:

Spring /6.831 User Interface Design and Implementation1 Lecture 5: Errors & User Control Make sure you’re registered for the right course! undergraduate graduate Check on Websis and on Stellar

UI Hall of Fame or Shame? Spring /6.831 User Interface Design and Implementation2

Nanoquiz closed book, closed notes submit before time is up (paper or web) we’ll show a timer for the last 20 seconds

1.Consider a narrow vertical scrollbar at the right edge of a maximized browser window. The efficiency of dragging this scrollbar with the mouse pointer is described by: (choose one) A. perceptual fusion B. Hick-Hyman reaction time C. Fitts’s Law D. steering law 2.The KLM technique measures: (choose one) A. visibility B. error rate C. learnability D. efficiency E. complexity 1.Autocompletion for text entry helps with (choose all reasonable answers): A. efficiency B. simplicity C. error prevention D. learnability E. security

Today’s Topics Human error Design principles –Error prevention –Error messages –User control & freedom Undo Spring /6.831 User Interface Design and Implementation5

Error Types Slips and lapses –Failure to correctly execute a procedure –Slip is a failure of execution, lapse is a failure of memory –Typically found in skilled behavior Mistakes –Using wrong procedure for the goal –Typically found in rule-based behavior or problem- solving behavior Spring /6.831 User Interface Design and Implementation6

Slips Capture –Leave your house and find yourself walking to school instead of where you meant to go –vi :w command (to save the file) vs. :wq command (to save and quit) –Excel array formulas must be entered with Ctrl-Shift- Enter, not just Enter Description –Putting the wrong lid on a bowl –Throwing shirt into toilet instead of hamper –Choosing Kendall Square instead of Kenmore Square Spring /6.831 User Interface Design and Implementation7

Lapses Loss of intention –Walking to another room and forgetting why you went there Omissions due to interruption –Getting coat to go out, then interrupted by a phone call; then go out without your coat Omissions due to already-satisfied goal –Walking away from an ATM without your card –Walking away from a copier without your originals Spring /6.831 User Interface Design and Implementation8

Mode Error Modes: states in which actions have different meanings –Vi ’ s insert mode vs. command mode –Caps Lock –Drawing palette Spring /6.831 User Interface Design and Implementation9

Common Features of Human Error Inattention or inappropriate attention –Causes slips and lapses, but not mistakes “Strong-but-wrong” effect –Similarity –High frequency Spring /6.831 User Interface Design and Implementation10

Avoiding Capture and Description Slips Avoid habitual action sequences with identical prefixes Avoid actions with very similar descriptions Keep dangerous commands away from common ones Spring /6.831 User Interface Design and Implementation11

Avoiding Mode Errors Eliminate modes Increase visibility of mode Spring-loaded or temporary modes Disjoint action sets in different modes Spring /6.831 User Interface Design and Implementation12

Avoiding Lapses Keep procedures short –Provide dialog closure Minimize interruptions Use forcing functions –In automatic transmission, you must hold down the brake in order to shift out of Park –Must take your ATM card out of the machine before you get your money Spring /6.831 User Interface Design and Implementation13

Other Rules for Error Prevention Disable illegal commands Use menus & forms, not command languages All needed information should be visible Use combo boxes, not textboxes –But don ’ t go overboard … Protect user’s work Spring /6.831 User Interface Design and Implementation14 Source: Interface Hall of Shame

Confirmation Dialogs Spring /6.831 User Interface Design and Implementation15

Writing Error Message Dialogs Best error message is none at all –Errors should be prevented –Be more flexible and tolerant –Nonsense entries can often be ignored without harm Spring /6.831 User Interface Design and Implementation16 Source: "No Dashes Or Spaces" Hall of Shame

Be Precise and Comprehensible Be precise –“File missing or wrong format” –“File can’t be parsed” –“Line too long” –“Name contains bad characters” Restate user ’ s input –Not “ Cannot open file ”, but “ Cannot open file named paper.doc ” Speak the user’s language –Not “FileNotFoundException” –Hide technical details (like a stack trace) until requested Spring /6.831 User Interface Design and Implementation17

Suggest Reasons and Solutions Give constructive help –why error occurred and how to fix it Spring /6.831 User Interface Design and Implementation18

Be Polite Be polite and nonblaming Avoid loaded words –Fatal, illegal, aborted, terminated Spring /6.831 User Interface Design and Implementation19 Source Interface Hall of Shame

User Control & Freedom Learning by exploring Dealing with errors User is sentient, computer is not Spring /6.831 User Interface Design and Implementation20

Clearly Marked Exits Long operations should be cancelable All dialogs should have a cancel button Spring /6.831 User Interface Design and Implementation21 Source: Interface Hall of Shame

Wizard vs. Center Stage: Who’s in Control? Spring /6.831 User Interface Design and Implementation22 Wizard Center Stage

Manual Overrides for Automatic Systems Spring /6.831 User Interface Design and Implementation23 Source:

Never Ask Me Again Spring /6.831 User Interface Design and Implementation24

User Control Over Data Data entered by the user should be editable by the user UI should give the power to: –Create a data item –Read it –Update it –Delete it Spring /6.831 User Interface Design and Implementation25

No Arbitrary Limits on User-Defined Names Spring /6.831 User Interface Design and Implementation26

Support Undo Desktop Web Revision history Spring /6.831 User Interface Design and Implementation27

Forming a Mental Model of Undo Undo reverses the effect of an action But that leaves many questions: –What stream of actions will be undone? –How is the stream divided into undoable units? –Which actions are undoable, and which are skipped? –How much of the previous state is actually recovered by the undo? –How far back in the stream can you undo? Spring /6.831 User Interface Design and Implementation28

What stream of actions will be undone? Actions in this window (MS Office) Actions in this text widget (web browser) Just my actions, or everybody ’ s (multiuser apps) Actions made by the computer –MS Office AutoCorrect and AutoFormat are undoable, even though user didn ’ t do them Spring /6.831 User Interface Design and Implementation29

How is the stream divided into units? Lexical level –Mouse clicks, key presses, mouse moves –Nobody does it at this level Syntactic level –Commands and button presses Semantic level –Changes to application data structures (e.g., the result of an entire Format dialog) –This is the normal level Text entry is aggregated into a single action –But other editing commands (like Backspace) and newlines interrupt the aggregation What about user-defined macros? –Undo macro actions individually, or as a unit? Spring /6.831 User Interface Design and Implementation30

Which actions are undoable? User ’ s action stream may include many actions that are ignored by Undo –Selection –Keyboard focus –Changing viewpoint (scrolling, zooming) –Changing layout (opening palettes or sidebars, adjusting window sizes) –UI customization (adding buttons to toolbars) So which actions does Undo actually undo? –Some applications (e.g. web browsers, IDEs) have Undo/Redo for the editing stream, Back/Forward for the viewpoint stream Spring /6.831 User Interface Design and Implementation31

How much state is recovered? Select text, delete it, and then undo –Text is restored –But is selection restored? Cursor position? Spring /6.831 User Interface Design and Implementation32

How far back can you undo? Often a limit on history size –Used to be one action -- now usually hundreds, or infinite Does action stream persist across application sessions? –If so, stream must be saved to file Does it persist across File/Save? Spring /6.831 User Interface Design and Implementation33

Curious Case Study: Outlook Sticky Notes Spring /6.831 User Interface Design and Implementation34 Suggested by Chris Child

Design Principles for Undo Visibility –Make sure undone effects are visible e.g., scrolled into view, selected, possibly animated Aggregation –Units should be “ chunks ” of action stream: typed strings, dialogs, macros Reversibility of the Undo itself –Support Redo as well as Undo –Undo to a state where user can immediately reissue the undone command, or a variant on it e.g., restore selection & cursor position Reserve it for model changes, not view changes –For consistency with other applications, reserve Undo for changes to backend data “ Undo ” is not the only way to support reversibility –Backspace undoes typing, Back undoes browsing, Recent Files undoes file closing, scrolling back undoes scrolling –Forward error recovery: using new actions to fix errors Spring /6.831 User Interface Design and Implementation35

Summary Human error –Errors include slips, lapses, mistakes –Human error is characterized by inattention, similarity, frequency Design principles –Prevent errors as much as possible –Write good error messages otherwise –Give user control over the dialog At least veto power: every operation should have Cancel –Give user control over data CRUD: Create, Read, Update, Delete Support undo –But it’s more complex than it seems Spring /6.831 User Interface Design and Implementation36

UI Hall of Fame or Shame? Spring /6.831 User Interface Design and Implementation37