113
1 INPUT: MOVING BEYOND STATIC FORMS LUKE WROBLEWSKI BAYCHI/IXDA, FEBRUARY 2010

Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

  • Upload
    baychi

  • View
    2.357

  • Download
    0

Embed Size (px)

DESCRIPTION

Luke Wroblewski at BayCHI's Interaction Design BOF, February 17, 2010:

Citation preview

Page 1: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

1

INPUT: MOVING BEYOND STATIC FORMS LUKE WROBLEWSKI BAYCHI/IXDA, FEBRUARY 2010

Page 2: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

2

Page 3: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

3

Page 4: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

4

Page 5: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

5

Page 6: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

6

Page 7: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

7

Page 8: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

8

Page 9: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

9

Page 10: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

10

Page 11: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

11

Page 12: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

12

Page 13: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

13

Page 14: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

14

Page 15: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

15

Page 16: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

16

Page 17: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

17

Page 18: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

18

Forms Suck.

Page 19: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

19

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 20: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

20

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 21: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

21

Inline Validation •  Real time feedback to validate inputs, suggest valid

answers, & help people stay within limits

Input Masks & Types •  Take the burden of formatting answers off people

Inline Multi-step Forms •  Utilize rich interactions to maintain context

Rich Interactions

TESTING IN PROGRESS

Page 22: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

22

Unique User Name Validation

Page 23: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

23

Inline Validation on Yahoo! Registration

Page 24: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

24

Validating Before Input

Page 25: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

25

Inline Validation

Page 26: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

26

Preventing Errors

Page 27: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

27

Inline Validation Testing

VS. a page submit/refresh model •  22% increase in completions

•  31% increase in satisfaction ratings

•  42% decrease in completion times

•  22% decrease in errors made

•  47% decrease in number of eye fixations

etre usability testing, March 2009

Page 28: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

28

30% noticed inline validation in top part of form: name, email, gender, location

“How do you know that’s my correct email address?”

etre usability testing, March 2009

Where to Show Inline Validation

Page 29: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

29

80-100% noticed inline validation in bottom part of form: user ID & password

etre usability testing, March 2009

Where to Show Inline Validation

Page 30: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

30 etre usability testing, March 2009

When to Show Inline Validation

Highest success rates, lowest number of errors, shortest time to completion, highest satisfaction rates

7-10 seconds slower

“It’s frustrating that you don’t get the chance to put anything in [the field] before it’s flashing red at you.”

Page 31: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

31 etre usability testing, March 2009

When to Show Inline Validation

Page 32: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

32 etre usability testing, March 2009

Most people are “hunt and peck” typists

Persistent messages support both “check as you go” & “check after complete” done strategies

How to Show Inline Validation

Page 33: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

33

Real Time Feedback

Page 34: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

34

Real Time Feedback

Page 35: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

35

Real Time Feedback

Page 36: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

36

Valid Input Suggestions

Page 37: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

37

Page 38: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

38

Inline Validation & Additional Inputs

Page 39: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

39

•  Use inline validation for inputs that have potentially high error rates

•  Validate “open” inputs after people finish

•  Keep validation messages persistent

•  Use suggested inputs to disambiguate

•  Avoiding “jumping” forms around

BEST PRACTICE

Page 40: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

40

Password Masks

“Usability suffers when users type in passwords and the only feedback they get is a row of bullets. Typically, masking passwords doesn't even increase security, but it does cost you business due to login failures.” -Jakob Nielsen, 2009

Page 41: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

41

Password Masks

Page 42: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

42

HTML Input Types

Images from Dive Into HTML5 by Mark Pilgrim

Page 43: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

43

HTML Input Types

Images from Dive Into HTML5 by Mark Pilgrim

Page 44: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

44

HTML Input Types

Images from Dive Into HTML5 by Mark Pilgrim

Page 45: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

45

HTML Input Types

Images from Dive Into HTML5 by Mark Pilgrim

Page 46: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

46

Required Formats

Page 47: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

47

Do not gradually reveal formatting as people enter input

Surface formatting right up front

Input Masks

Page 48: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

48

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 49: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

49

Communication Tools •  Email: 247 billion emails/day (worldwide)

•  Text Messaging: 4.1 billion text messages/day (US only)

•  Instant Messaging, Twitter, etc.

Web Browsers •  People spend more time off your site than on it

•  Integrate Input options into the Web browser

Supporting Multiple Tools •  Input can come from anywhere

•  Let people use their existing workflow to provide input

Commonly Used Tools

Page 50: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

50

Using Email for Input

Page 51: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

51

Using Email for Input

Page 52: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

52

Using Email for Input

Page 53: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

53

Using Email for Input

Page 54: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

54

Using Email for Input

Page 55: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

55

Using Email for Input

Page 56: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

56

Using Email for Input

Page 57: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

57

Using SMS Text for Input

Page 58: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

58

Using the Web Browser for Input

Page 59: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

59

Using the Web Browser for Input

Page 60: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

60

Using the Web Browser for Input

Page 61: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

61

Using the Web Browser for Input

Page 62: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

62

Using the Web Browser for Input

Page 63: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

63

Using the Web Browser for Input

Enables anyone who knows HTML, CSS, and JavaScript to create powerful Firefox add-ons. 

Add browser actions, page actions, and content scripts to the Google Chrome browser using HMTL, CSS and Javascript.

Page 64: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

64

Supporting Multiple Tools

Email

Twitter

Calendar

Portal/Home

Browser

Page 65: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

65

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 66: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

66

Remove barriers to account creation •  Over 60 million people use Facebook Connect on

external sites (80k total) per month

Don’t re-create what they’ve already done •  Identity, bio, profile, contact information

•  Friends & contact lists

Deliver an instant-on start experience

Web Services

Page 67: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

67

Typical Account Creation

Page 68: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

68

Typical Account Creation

Page 69: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

69

Re-create your identity & friends list

Page 70: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

70

Simplified Account Creation

Page 71: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

71

Web Services for Account Creation

Page 72: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

72

Web Services for Account Creation

Page 73: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

73

Instant-on Start Experience

Page 74: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

74

Single Sign-on Solutions

Page 75: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

75

Instant-on Start Experience

Page 76: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

76

Instant-on Start Experience

Page 77: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

77

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 78: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

78

Why Care About Mobile?

1990

PC

100M+

2010 2020

Mobile Consumer

10B+

Mobile Web growth has outpaced desktop Web growth 8x

Smartphone sales will pass PC sales in 2011

2000

Desktop Internet

1B+

Note: PC installed base reached 100MM in 1993, cellphone / Internet users reached 1B in 2002 / 2005 respectively;25 Source: ITU, Mark Lipacis, Morgan Stanley Research.

Page 79: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

79

Text Input on Mobile is Hard

“The rule of thumb is to limit the use of forms in the mobile context” –Mobile Web Design & Development, O’Reilly 2009

Page 80: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

80

Mobile Device Capabilities

Form Fields

Audio

Location

Gestures

Images

Page 81: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

81

Field Zoom on the iPhone

Page 82: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

82

Field Zoom on the iPhone

Page 83: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

83

Left Aligned Labels on Android

Page 84: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

84

Top Aligned Labels

•  When data being collected is familiar

•  Minimize time to completion

•  Flexibility for localization and complex inputs

•  Easier to code: no floats or tables

•  Accessibility: label, field in order

•  Better format for mobile screen

•  Support help/error messaging column

•  Require more vertical space

Page 85: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

85

HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim

Page 86: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

86

HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim

Page 87: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

87

HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim

Page 88: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

88

Pop-Up Menus on iPhone

Page 89: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

89

Pop-Up Menus on iPhone

Page 90: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

90

Multi-Field Pop-Up Menus on iPhone

Page 91: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

91

Multi-Field Pop-Up Menus on Android

Page 92: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

92

Input Controls on Mobile Devices

Android WebOS iPhone OS

Page 93: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

93

Multiple Orientations

Page 94: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

94

Location as Input

Page 95: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

95

Location as Input

Page 96: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

96

Location as Input

Page 97: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

97

Accuracy Positioning Time Battery Life

GPS 10m 2-10 minutes (only outdoors)

5-6 hours on most phones

WiFi 50m (improves with density)

Almost instant (server connect & lookup)

No additional effect

Cell tower triangulation

100-1400m (based on density)

Almost instant (server connect & lookup)

Negligible

Single Cell Tower

500-2500m (based on density)

Almost instant (server connect & lookup)

Negligible

IP Country: 99% City: 46% US, 53% Intl Zip: 0%

Almost instant (server connect & lookup)

Negligible

Smartphones: hybrid of GPS, Wifi, and cell tower triangulation Laptops/desktops: WiFi, IP, rarely GPS

Location Systems

Page 98: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

98

Location & Orientation as Input

Page 99: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

99

Location & Orientation as Input

Page 100: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

100

Gestures as Input

Page 101: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

101

Voice as Input

Page 102: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

102

Page 103: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

103

Images as Input

Page 104: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

104

Images as Input

Page 105: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

105

Images as Input

Page 106: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

106

Images as Input

Page 107: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

107

Images as Input

Page 108: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

108

Images as Input

Page 109: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

109

Images as Input

Page 110: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

110

Form Fields

Audio

Location

Gestures

Images

Input Capabilities

Page 111: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

111

1.  Rich Interactions to enhance standard forms

2.  Commonly used tools for input

3.  Web services to bypass registration & set-up

4.  New capabilities on mobile devices

MOVING BEYOND STATIC FORMS

Page 112: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

112

1.  Rich Interactions to enhance standard forms IE6 is less than 20% of all browsers

2.  Commonly used tools for input Email: 247 billion emails/day (worldwide)

Text Messaging: 4.1 billion text messages/day (US only)

3.  Web services to bypass registration & set-up Over 60 million people use Facebook Connect per month

80K sites have implemented Facebook Connect

4.  New capabilities on mobile devices RIM, Android, iPhone all use WebKit browser

Smartphone sales will pass PC sales next year

CAN I USE THIS NOW?

Page 113: Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms

113

For more information…

• More Information •  @lukewdesign

•  www.lukew.com/ff/

• Web Form Design •  www.rosenfeldmedia.com/books/

webforms/ •  Discount code: LUKE (25%)