Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms
description
Transcript of Luke Wroblewski at BayCHI IxD BOF: Input: Moving Beyond Static Forms
1
INPUT: MOVING BEYOND STATIC FORMS LUKE WROBLEWSKI BAYCHI/IXDA, FEBRUARY 2010
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Forms Suck.
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
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
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
22
Unique User Name Validation
23
Inline Validation on Yahoo! Registration
24
Validating Before Input
25
Inline Validation
26
Preventing Errors
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
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
29
80-100% noticed inline validation in bottom part of form: user ID & password
etre usability testing, March 2009
Where to Show Inline Validation
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.”
31 etre usability testing, March 2009
When to Show Inline Validation
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
33
Real Time Feedback
34
Real Time Feedback
35
Real Time Feedback
36
Valid Input Suggestions
37
38
Inline Validation & Additional Inputs
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
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
41
Password Masks
42
HTML Input Types
Images from Dive Into HTML5 by Mark Pilgrim
43
HTML Input Types
Images from Dive Into HTML5 by Mark Pilgrim
44
HTML Input Types
Images from Dive Into HTML5 by Mark Pilgrim
45
HTML Input Types
Images from Dive Into HTML5 by Mark Pilgrim
46
Required Formats
47
Do not gradually reveal formatting as people enter input
Surface formatting right up front
Input Masks
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
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
50
Using Email for Input
51
Using Email for Input
52
Using Email for Input
53
Using Email for Input
54
Using Email for Input
55
Using Email for Input
56
Using Email for Input
57
Using SMS Text for Input
58
Using the Web Browser for Input
59
Using the Web Browser for Input
60
Using the Web Browser for Input
61
Using the Web Browser for Input
62
Using the Web Browser for Input
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.
64
Supporting Multiple Tools
Calendar
Portal/Home
Browser
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
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
67
Typical Account Creation
68
Typical Account Creation
69
Re-create your identity & friends list
70
Simplified Account Creation
71
Web Services for Account Creation
72
Web Services for Account Creation
73
Instant-on Start Experience
74
Single Sign-on Solutions
75
Instant-on Start Experience
76
Instant-on Start Experience
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
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.
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
80
Mobile Device Capabilities
Form Fields
Audio
Location
Gestures
Images
81
Field Zoom on the iPhone
82
Field Zoom on the iPhone
83
Left Aligned Labels on Android
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
85
HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim
86
HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim
87
HTML5 Input Types Images from Dive Into HTML5 by Mark Pilgrim
88
Pop-Up Menus on iPhone
89
Pop-Up Menus on iPhone
90
Multi-Field Pop-Up Menus on iPhone
91
Multi-Field Pop-Up Menus on Android
92
Input Controls on Mobile Devices
Android WebOS iPhone OS
93
Multiple Orientations
94
Location as Input
95
Location as Input
96
Location as Input
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
98
Location & Orientation as Input
99
Location & Orientation as Input
100
Gestures as Input
101
Voice as Input
102
103
Images as Input
104
Images as Input
105
Images as Input
106
Images as Input
107
Images as Input
108
Images as Input
109
Images as Input
110
Form Fields
Audio
Location
Gestures
Images
Input Capabilities
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
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?
113
For more information…
• More Information • @lukewdesign
• www.lukew.com/ff/
• Web Form Design • www.rosenfeldmedia.com/books/
webforms/ • Discount code: LUKE (25%)