Slide 1

Slide 1 text

Adaptive Input Jason Grigsby • @grigs • cloudfour.com

Slide 2

Slide 2 text

Follow along at @grigs_talks

Slide 3

Slide 3 text

http://www.flickr.com/photos/cdm/51747860/

Slide 4

Slide 4 text

http://www.flickr.com/photos/rheaney/4397863376 It started with TVs.

Slide 5

Slide 5 text

Designing for a 10-foot UI is very different. http://www.flickr.com/photos/chrisbartow/5835428673

Slide 6

Slide 6 text

Larger text and fewer words.

Slide 7

Slide 7 text

Make up, down, left, right directions clear. http://images.dailytech.com/nimage/29122_large_amazon_prime_screen_5.jpg

Slide 8

Slide 8 text

How do we know what is a TV?

Slide 9

Slide 9 text

This is HDTV.

Slide 10

Slide 10 text

This is HDTV. 1980 px 1080 px

Slide 11

Slide 11 text

Resolution does not define the optimal experience.

Slide 12

Slide 12 text

Next came responsive web apps. https://twitter.com/freediverx/status/354698695041744896

Slide 13

Slide 13 text

Responsive design for apps is inevitable. http://blog.cloudfour.com/responsive-design-for-apps-part-1/

Slide 14

Slide 14 text

Lines between device classes are blurring Model Type Size Size Display Resolution Resolution Viewport Viewport W H W H W H Samsung Galaxy Note 2 Phone 3.17” 5.95” 5.5” 720 1280 360 640 Motorola RAZR HD Phone 2.67” 5.19” 4.7” 720 1280 360 519 Motorola Atrix HD Phone 2.75” 5.26” 4.5” 720 1280 540 812 HTC Droid DNA Phone 2.78” 5.5” 5” 1080 1920 360 640 Nexus 7 Tablet 4.72” 7.81” 7” 800 1280 600 793 Kindle Fire Tablet 4.72” 7.44” 7” 600 1024 600 819 Kindle Fire HD Tablet 5.4” 7.6” 7” 800 1280 533 731

Slide 15

Slide 15 text

640 px 600 px 519 px 640 px 622 px 533 px 812 px Which are phones and which are tablets?

Slide 16

Slide 16 text

http://www.flickr.com/photos/geatchy/8489505999

Slide 17

Slide 17 text

How do I make this responsive? How do I make this responsive?

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

mobile desktop THE ART OF WEB DEVELOPMENT THE ART OF WEB DEVELOPMENT Web widgets THE ART OF WEB DEVELOPMENT THE ART OF WEB DEVELOPMENT Mobile widgets

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

It’s not that we’re technically incapable, but adapting a phone UI to a tablet UI is not so dissimilar from trying to automatically adapt desktop UI to a phone. They are fundamentally different platforms with different usability considerations, and something that makes sense on phones may or may not belong on tablets. —Todd Anglin, Kendo UI http://www.kendoui.com/blogs/teamblog/posts/12-09-11/universal_mobile_apps_with_html5_and_kendo_ui.aspx

Slide 27

Slide 27 text

Sometimes it’s hard to envision a responsive version. http://demos.kendoui.com/web/grid/editing.html

Slide 28

Slide 28 text

http://www.flickr.com/photos/jesuspresley/384080245/ We want people to be productive…

Slide 29

Slide 29 text

and stay in the zone. http://www.flickr.com/photos/raccatography/8038855203

Slide 30

Slide 30 text

http://www.flickr.com/photos/shantellmartin/4543010568 Which seems very different from playing on an iPad.

Slide 31

Slide 31 text

For both the TV…

Slide 32

Slide 32 text

and the desktop web app…

Slide 33

Slide 33 text

input matters much more than screen size.

Slide 34

Slide 34 text

The grid is important to support d-pad interaction. http://images.dailytech.com/nimage/29122_large_amazon_prime_screen_5.jpg

Slide 35

Slide 35 text

http://www.flickr.com/photos/royalsapien/2387707860

Slide 36

Slide 36 text

And keyboard and mouse are what we envision work is. http://www.flickr.com/photos/royalsapien/2387707860

Slide 37

Slide 37 text

http://www.flickr.com/photos/hellogeri/6154034099/ A few years ago, Jeremy talked about how…

Slide 38

Slide 38 text

http://www.flickr.com/photos/60415054@N00/14301113/ we told ourselves that the web was…

Slide 39

Slide 39 text

http://www.flickr.com/photos/60415054@N00/14301113/

Slide 40

Slide 40 text

http://www.flickr.com/photos/60415054@N00/14301113/ 640 px 480 px

Slide 41

Slide 41 text

640 px 480 px

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

1024 px 768 px

Slide 47

Slide 47 text

http://www.flickr.com/photos/adactio/6153481666/

Slide 48

Slide 48 text

http://www.flickr.com/photos/adactio/6153481666/ Then mobile came and made us realize…

Slide 49

Slide 49 text

that it was a consensual hallucination all along. http://www.flickr.com/photos/garibaldi/303085857/

Slide 50

Slide 50 text

The web never had a fixed canvas. http://www.flickr.com/photos/paulocarrillo/124755065/

Slide 51

Slide 51 text

Even our tools perpetuate the lie.

Slide 52

Slide 52 text

http://www.flickr.com/photos/69797234@N06/7203485148/ We’ve made tremendous progress.

Slide 53

Slide 53 text

But there is another consensual hallucination. http://www.flickr.com/photos/garibaldi/ 303085857/

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

= =

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

Supports hover and pointer events.

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

Keyboard and touch.

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

Even the iPhone can have a keyboard.

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

Are these laptops or tablets?

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

Desktop computer with 23” touch screen

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Luke nailed it. http://static.lukew.com/unified_device_design.png

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

We can no longer make assumptions about input based on screen size or form factor. And we probably never should have.

Slide 74

Slide 74 text

http://www.flickr.com/photos/cblue98/7254221968

Slide 75

Slide 75 text

Input represents a bigger challenge than screen size. http://www.flickr.com/photos/cblue98/7254221968

Slide 76

Slide 76 text

http://www.flickr.com/photos/taedc/9278192929

Slide 77

Slide 77 text

And it is changing more rapidly than ever before. http://www.flickr.com/photos/taedc/9278192929

Slide 78

Slide 78 text

So let’s take a closer look…

Slide 79

Slide 79 text

Let’s start with futuristic input. http://www.flickr.com/photos/jdhancock/3714748769/

Slide 80

Slide 80 text

http://uncyclopedia.wikia.com/wiki/ File:Man_yelling_at_computer.JPG VOICE

Slide 81

Slide 81 text

http://uncyclopedia.wikia.com/wiki/ File:Man_yelling_at_computer.JPG VOICE

Slide 82

Slide 82 text

http://www.98ps.com/viewnews-15222.html

Slide 83

Slide 83 text

Siri gets all of the hype… http://www.98ps.com/viewnews-15222.html

Slide 84

Slide 84 text

but both Microsoft and Google have compelling voice input in their products.

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

How should web pages change to support voice control?

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

Google voice search

Slide 92

Slide 92 text

You can use speech recognition too. http://www.google.com/intl/en/chrome/demos/speech.html http://www.moreawesomeweb.com/demos/speech_translate.html

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

Gestures?

Slide 95

Slide 95 text

http://leapmotion.com

Slide 96

Slide 96 text

https://www.kickstarter.com/projects/1761670738/ring-shortcut-everything

Slide 97

Slide 97 text

https://www.kickstarter.com/projects/1761670738/ring-shortcut-everything

Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

Amazing, but too new to know what, if anything, this technology will mean for the web.

Slide 100

Slide 100 text

Let’s come back from the future and look at something much Dumber. Dumber

Slide 101

Slide 101 text

Dumber

Slide 102

Slide 102 text

Dumber

Slide 103

Slide 103 text

-pad remote controls D

Slide 104

Slide 104 text

-pad remote controls D

Slide 105

Slide 105 text

-pad remote controls D

Slide 106

Slide 106 text

http://www.flickr.com/photos/stewc/6669743035/

Slide 107

Slide 107 text

http://www.flickr.com/photos/stewc/6669743035/ TVs browsers that support d-pad, send arrow key events.

Slide 108

Slide 108 text

http://www.wasdkeyboards.com/index.php/catalog/product/gallery/id/7164/image/343/

Slide 109

Slide 109 text

If then http://www.wasdkeyboards.com/index.php/catalog/product/gallery/id/7164/image/343/

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

is undetectable. This is a recurring theme for input.

Slide 112

Slide 112 text

Sensors and camera http://www.flickr.com/photos/retrocactus/2170677056

Slide 113

Slide 113 text

Sensors and camera Camera http://www.flickr.com/photos/retrocactus/2170677056

Slide 114

Slide 114 text

GPS http://www.flickr.com/photos/3dking/149450434

Slide 115

Slide 115 text

GPS GeoLocation http://www.flickr.com/photos/3dking/149450434

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

Gyroscope & Accelerometer

Slide 118

Slide 118 text

http://www.flickr.com/photos/chrisjagers/4694134078

Slide 119

Slide 119 text

Back to today’s problems. http://www.flickr.com/photos/chrisjagers/4694134078

Slide 120

Slide 120 text

No content

Slide 121

Slide 121 text

Hover state No hover state

Slide 122

Slide 122 text

Hover state Typing easier for many No hover state Typing often more difficult

Slide 123

Slide 123 text

Higher precision with mouse means smaller targets possible Hover state Less precise than mouse and requires larger touch targets Typing easier for many No hover state Typing often more difficult

Slide 124

Slide 124 text

Higher precision with mouse means smaller targets possible Hover state Less precise than mouse and requires larger touch targets Typing easier for many No hover state Typing often more difficult Right clicking and “power” tools Single and multi-touch gestures

Slide 125

Slide 125 text

No content

Slide 126

Slide 126 text

No content

Slide 127

Slide 127 text

http://www.flickr.com/photos/28096801@N05/5012309802

Slide 128

Slide 128 text

I got this. Detect touch. http://www.flickr.com/photos/28096801@N05/5012309802

Slide 129

Slide 129 text

No content

Slide 130

Slide 130 text

Whatever you may think, it currently isn't possible to reliably detect whether or not the current device has a touchscreen, from within the browser. —Stu Cox, You Can’t Reliably Detect a Touch Screen http://www.stucox.com/blog/you-cant-detect-a-touchscreen/

Slide 131

Slide 131 text

Chrome has entertained idea of enabling touch by default. https://code.google.com/p/chromium/issues/detail?id=159527 https://docs.google.com/a/cloudfour.com/presentation/d/1-n1qyzewpagREbzW2zm0wOalq33UhbtbSkWf9mEdly8/ edit#slide=id.gc2d80e5b_171

Slide 132

Slide 132 text

No content

Slide 133

Slide 133 text

Detect a mouse? Not reliably.

Slide 134

Slide 134 text

No content

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

Surely we can detect a keyboard?

Slide 137

Slide 137 text

Surely we can detect a keyboard? NOPE

Slide 138

Slide 138 text

No content

Slide 139

Slide 139 text

Input is dynamic.

Slide 140

Slide 140 text

Input is dynamic.

Slide 141

Slide 141 text

Boris Smus’s experiments responding to input. http://smus.com/touch-laptop-experiments/

Slide 142

Slide 142 text

Boris Smus’s experiments responding to input. http://smus.com/touch-laptop-experiments/

Slide 143

Slide 143 text

http://www.flickr.com/photos/lyza/7382235106 Maybe we need to be more zen about input.

Slide 144

Slide 144 text

No content

Slide 145

Slide 145 text

After poking at this problem for a few weeks, my conclusion is: every desktop UI should be designed for touch now. When any desktop machine could have a touch interface, we have to proceed as if they all do. —Josh Clark http://globalmoxie.com/blog/desktop-touch-design.shtml

Slide 146

Slide 146 text

No content

Slide 147

Slide 147 text

What about those who won’t let go of their “power” interfaces? http://www.flickr.com/photos/ecos/4092571213/

Slide 148

Slide 148 text

http://www.flickr.com/photos/scarygami/5689980135/ One option: give them a choice.

Slide 149

Slide 149 text

No content

Slide 150

Slide 150 text

Gmail display density settings

Slide 151

Slide 151 text

Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode

Slide 152

Slide 152 text

Couch Mode + See all Centric TV’s videos / Recently viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode

Slide 153

Slide 153 text

Couch Mode + See all Centric TV’s videos / Recently viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Couch Mode + See all Centric TV’s videos / Recently viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode

Slide 154

Slide 154 text

Vimeo Couch Mode

Slide 155

Slide 155 text

No content

Slide 156

Slide 156 text

The key benefit of this approach: You’re designing for user need not for a specific form factor or input.

Slide 157

Slide 157 text

http://www.flickr.com/photos/raver_mikey/504815463

Slide 158

Slide 158 text

No content

Slide 159

Slide 159 text

Progressive Input?

Slide 160

Slide 160 text

Graph from Chapter 1 of Adaptive Web Design by Aaron Gustafson http://easy-readers.net/books/ adaptive-web-design/

Slide 161

Slide 161 text

Graph from Chapter 1 of Adaptive Web Design by Aaron Gustafson http://easy-readers.net/books/ adaptive-web-design/ Progressive enhancement contains a value judgment

Slide 162

Slide 162 text

Who are we to judge what input is better? http://www.flickr.com/photos/fensterbme/4783366926

Slide 163

Slide 163 text

We need to adapt and respond. http://www.flickr.com/photos/cdm/147947664/

Slide 164

Slide 164 text

Thank You! Special thanks to Flickr users for generously sharing their photos under creative commons license.