Slide 1

Slide 1 text

Being Responsive Jason Grigsby • @grigs • cloudfour.com

Slide 2

Slide 2 text

Follow along at @grigs_talks http://bit.ly/grigs-intersystems14

Slide 3

Slide 3 text

Two years ago…

Slide 4

Slide 4 text

Mobile is Disruptive Technology http://www.flickr.com/photos/talkephotography/4523849236/ Creative Commons BY-NC-SA 2.0

Slide 5

Slide 5 text

Technology Cycles - Wealth Creation / Destruction New Companies Often Win Big in New Cycles While Incumbents Often Falter Mainframe Computing 1960s Personal Computing 1980s Desktop Internet Computing 1990s Mobile Internet Computing 2000s Mini Computing 1970s New Winners New Winners New Winners New Winners Note: Winners from 1950s to 1980s based on Fortune 500 rankings (revenue-based), desktop Internet winners based on wealth created from 1995 to respective peak market capitalizations. Source: FactSet, Fortune, Morgan Stanley Research. Microsoft Cisco Intel Apple Oracle EMC Dell Compaq Google AOL eBay Yahoo! Yahoo! Japan Amazon.com Tencent Alibaba Baidu Rakuten Digital Equipment Data General HP Prime Computervision Wang Labs IBM NCR Control Data Sperry Honeywell Burroughs 16 You could be disrupted. Source: http://www.morganstanley.com/institutional/techresearch/mobile_internet_report122009.html

Slide 6

Slide 6 text

Remains true but…

Slide 7

Slide 7 text

http://www.flickr.com/photos/adactio/6301799843 Zombie apocalypse of devices

Slide 8

Slide 8 text

http://www.flickr.com/photos/ lukew/10412585943/

Slide 9

Slide 9 text

Responsive is the answer. http://www.flickr.com/photos/38208449@N00/7712219364

Slide 10

Slide 10 text

But not the way you’re thinking.

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

There are other paths you can take… http://www.flickr.com/photos/95572727@N00/4204913417

Slide 17

Slide 17 text

But they will lead you to the same place. http://www.flickr.com/photos/cuppini/2631488256

Slide 18

Slide 18 text

Responsive design is inevitable. http://www.flickr.com/photos/gwilmore/3848170723/

Slide 19

Slide 19 text

Content & Services Car sketch: http://www.flickr.com/photos/cloppy/5081768461/ HTML HTML HTML HTML HTML HTML HTML HTML NATIVE NATIVE NATIVE

Slide 20

Slide 20 text

Let’s say you’re going to build a separate site or app for specific form factor.

Slide 21

Slide 21 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 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

Technical challenges Being inevitable doesn’t make it easy. http://www.flickr.com/photos/presidioofmonterey/7025086135

Slide 25

Slide 25 text

PERFORMANCE

Slide 26

Slide 26 text

http://www.guypo.com/uncategorized/real-world-rwd-performance-take-2/ Most responsive sites are bloated 2013: 476 sites from mediaqueri.es tested

Slide 27

Slide 27 text

http://www.thefoxisblack.com/2012/10/02/the-design-thinking-behind-the-new-disney-com/

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

http://www.flickr.com/photos/beautyredefined/2643858323/

Slide 33

Slide 33 text

http://www.flickr.com/photos/puuikibeach/3654517679

Slide 34

Slide 34 text

Most responsive web designs are…

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Small screen assets Large screen assets Progressive enhancement based on screen size Mobile First Responsive Web Design is a technical approach for responsible responsive designs.

Slide 37

Slide 37 text

http://www.flickr.com/photos/soldiersmediacenter/6999691421 Yes, there are obstacles…

Slide 38

Slide 38 text

But the biggest challenge is us. http://www.flickr.com/photos/yamagatacamille/5434502250/

Slide 39

Slide 39 text

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

Slide 40

Slide 40 text

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

Slide 41

Slide 41 text

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

Slide 42

Slide 42 text

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

Slide 43

Slide 43 text

640 px 480 px

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

1024 px 768 px

Slide 49

Slide 49 text

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

Slide 50

Slide 50 text

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

Slide 51

Slide 51 text

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

Slide 52

Slide 52 text

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

Slide 53

Slide 53 text

Even our tools perpetuate the lie.

Slide 54

Slide 54 text

http://www.flickr.com/photos/69797234@N06/7203485148/ We’re making some progress.

Slide 55

Slide 55 text

We often dismiss as unlikely the idea that someone will want to use our service on a small screen.

Slide 56

Slide 56 text

It’s fairly certain that the highest-value use will stay predominantly on desktop. —Jakob Nielsen http://www.flickr.com/photos/dplanet/82899080/

Slide 57

Slide 57 text

Most complex tasks have vastly better user experience on the desktop and thus will be performed there… Yes, you might enter a stock trade with your broker's mobile app, but you'll research new mutual funds on the desktop. —Jakob Nielsen

Slide 58

Slide 58 text

http://www.flickr.com/photos/brunauto/5062644167/

Slide 59

Slide 59 text

80% during misc downtime 76% while waiting in lines 86% while watching TV 69% for point of sale research http://www.flickr.com/photos/carbonnyc/5140154965

Slide 60

Slide 60 text

TMI

Slide 61

Slide 61 text

39% use phone on toilet

Slide 62

Slide 62 text

http://techcrunch.com/2011/10/09/ebay-vp-steve-yankovich-en-route-to-4b-in-gross-mobile-sales-tctv/

Slide 63

Slide 63 text

How many cars are sold through eBay’s iPhone app each week? http://techcrunch.com/2011/10/09/ebay-vp-steve-yankovich-en-route-to-4b-in-gross-mobile-sales-tctv/

Slide 64

Slide 64 text

How many cars are sold through eBay’s iPhone app each week? 2,600 http://techcrunch.com/2011/10/09/ebay-vp-steve-yankovich-en-route-to-4b-in-gross-mobile-sales-tctv/

Slide 65

Slide 65 text

Each created and sold on a phone.

Slide 66

Slide 66 text

$265,000 $212,685 $212,685 Each created and sold on a phone.

Slide 67

Slide 67 text

In late 2008, after I had left the company, most of the eBay Mobile team was laid off or re-assigned to other parts of the company. Executives wanted to focus on the “core” of the business, and eBay Mobile was evidently not considered “core”. —Alan Lewis, Original developer of eBay iPhone App http://alanlewis.typepad.com/weblog/2011/01/ebay-for-iphone-why-it-almost-didnt-happen.html

Slide 68

Slide 68 text

But if there’s one thing I’ve learned in observing people on their mobile devices, it’s that they’ll do anything on mobile if they have the need. Write long emails? Check. Manage complex sets of information? Check. And the list goes on. If people want to do it, they’ll do it on mobile -especially when it’s their only or most convenient option. —Luke Wroblewski lukew.com/ff/entry.asp?1333

Slide 69

Slide 69 text

http://mobithinking.com/mobile-marketing-tools/latest-mobile-stats#mobile-only 25% of mobile web users in U.S. never or infrequently access the desktop web.

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Understanding mobile as the primary and sometimes only device… http://www.flickr.com/photos/e4a-2030/5106562313

Slide 72

Slide 72 text

is difficult when we spend so much time on our PCs. http://www.flickr.com/photos/goobi/4021009835/

Slide 73

Slide 73 text

Even the way we work as teams needs to change.

Slide 74

Slide 74 text

http://mashable.com/2012/12/11/responsive-web-design/ Common first approach: Mobile, Tablet, & Desktop Breakpoints

Slide 75

Slide 75 text

Resize until the page looks bad then…

Slide 76

Slide 76 text

Resize until the page looks bad then… BOOM! you need a breakpoint.

Slide 77

Slide 77 text

Major Breakpoint 1 (media query in document head) Major Breakpoint 3 (media query in document head) 320 px to 720 px wide 720 px to 1024 px major breakpoints Example major layout changes 320 720 Major Breakpoint 2 (media query in document head) nothing is here...but that’s ok! (P) = Portrait (L) = Landscape (L*) = Landscape w/ native viewport adaptation < 320 px wide and/or unable to understand further instructions 1024 iPhone (P) many Android (P) many BlackBerry S60 QWERTY Most S60 (L) S40 QWERTY some tablets most NetBooks many Desktops http://www.slideshare.net/yiibu/pragmatic-responsive-design

Slide 78

Slide 78 text

Major Breakpoint 3 (media query in document head) iPhone (L*) Android (L*) some Symbian touch (L) some tablets (L) some Symbian touch (L) 640 768 360 720 Major Breakpoint 1 (media query in document head) Major Breakpoint 2 (media query in document head) 720 px to 1024 px 320 px to 720 px wide nothing is here...but that’s ok! 320 minor breakpoints Example Symbian touch (P) (P) = Portrait (L) = Landscape (L*) = Landscape w/ native viewport adaptation iPhone (P) many Android (P) many BlackBerry S60 QWERTY Most S60 (L) S40 QWERTY < 320 px wide and/or unable to understand further instructions iPad (P) some Android tablets (P) Minor Breakpoint (@media) 1024 Minor Breakpoint (@media) Minor Breakpoint (@media) Minor Breakpoint (@media) 480 some tablets most NetBooks many Desktops content-related tweaks http://www.slideshare.net/yiibu/pragmatic-responsive-design

Slide 79

Slide 79 text

iPhone (L*) Android (L*) some Symbian touch (L) some tablets (L) Minor Breakpoint (@media) Major Breakpoint 3 (media query in document head) 480 640 768 360 Symbian touch (P) 720 Major Breakpoint 1 (media query in document head) Major Breakpoint 2 (media query in document head) 720 px to 1024 px 320 px to 720 px wide nothing is here...but that’s ok! 320 240 Minor Breakpoint for small devices w/media query support < 320 px wide and/or unable to understand further instructions ...and so on Example some Symbian touch (L) (P) = Portrait (L) = Landscape (L*) = Landscape w/ native viewport adaptation iPad (P) some Android tablets (P) 1024 TVs Minor Breakpoint (@media) Minor Breakpoint (@media) Minor Breakpoint (@media) iPhone (P) many Android (P) many BlackBerry S60 QWERTY Most S60 (L) S40 QWERTY some Android (P) many S40 (P) most S60 (P) some tablets most NetBooks many Desktops http://www.slideshare.net/yiibu/pragmatic-responsive-design

Slide 80

Slide 80 text

as you can see, this has the potential to get out of hand... iPhone (L*) Android (L*) some Symbian touch (L) some tablets (L) Minor Breakpoint (@media) some tablets (L) 640 768 360 Symbian touch (P) 720 Major Breakpoint 1 (media query in document head) Major Breakpoint 2 (media query in document head) TVs 720 px to 1024 px 320 px to 720 px wide nothing is here...but that’s ok! 320 240 Minor Breakpoint for small devices w/media query support some Android (P) many S40 (P) most S60 (P) < 320 px wide and/or unable to understand further instructions some Symbian touch (L) iPad (P) some Android tablets (P) Minor Breakpoints (@media) some tablets (L) 1280 800 Minor Breakpoint (@media) 600 some tablets (P) some tablets most NetBooks many Desktops 1366 many laptops Minor Breakpoint (@media) Minor Breakpoint (@media) Minor Breakpoint (@media) Major Breakpoint 3 (media query in document head) iPhone (P) many Android (P) many BlackBerry S60 QWERTY Most S60 (L) S40 QWERTY Minor Breakpoint (@media) 480 1024 http://www.slideshare.net/yiibu/pragmatic-responsive-design

Slide 81

Slide 81 text

What’s the point?

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

Don’t go chasing waterfalls.

Slide 84

Slide 84 text

Don’t go chasing waterfalls.

Slide 85

Slide 85 text

Old Waterfall Process http://viljamis.com/blog/2012/responsive-workflow/

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

No way to design for every breakpoint in PhotoShop!

Slide 88

Slide 88 text

New Responsive Design Process http://viljamis.com/blog/2012/responsive-workflow/

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

! download " view on github # view demo what it is Pattern Lab is a collection of tools to help you create atomic design systems. pattern lab documentation about resources demo on github pattern lab atoms molecules organisms templates pages create atomic design systems

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

We need to learn to let go.

Slide 93

Slide 93 text

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

Slide 94

Slide 94 text

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

Slide 95

Slide 95 text

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

Slide 96

Slide 96 text

Larger text and fewer words.

Slide 97

Slide 97 text

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

Slide 98

Slide 98 text

How do we know what is a TV?

Slide 99

Slide 99 text

This is HDTV.

Slide 100

Slide 100 text

This is HDTV. 1980 px 1080 px

Slide 101

Slide 101 text

Resolution does not define the optimal experience.

Slide 102

Slide 102 text

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

Slide 103

Slide 103 text

How do I make this existing application responsive?

Slide 104

Slide 104 text

No content

Slide 105

Slide 105 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 106

Slide 106 text

No content

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

No content

Slide 109

Slide 109 text

No content

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 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 113

Slide 113 text

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

Slide 114

Slide 114 text

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

Slide 115

Slide 115 text

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

Slide 116

Slide 116 text

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

Slide 117

Slide 117 text

For both the TV…

Slide 118

Slide 118 text

and the desktop web app…

Slide 119

Slide 119 text

input matters much more than screen size.

Slide 120

Slide 120 text

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

Slide 121

Slide 121 text

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

Slide 122

Slide 122 text

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

Slide 123

Slide 123 text

We’ve started letting go of some of our mistaken assumptions. http://www.flickr.com/photos/paulocarrillo/124755065/

Slide 124

Slide 124 text

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

Slide 125

Slide 125 text

No content

Slide 126

Slide 126 text

= =

Slide 127

Slide 127 text

No content

Slide 128

Slide 128 text

Supports hover and pointer events.

Slide 129

Slide 129 text

No content

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

Keyboard and touch.

Slide 132

Slide 132 text

No content

Slide 133

Slide 133 text

No content

Slide 134

Slide 134 text

Even the iPhone can have a keyboard.

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

No content

Slide 137

Slide 137 text

Are these laptops or tablets?

Slide 138

Slide 138 text

No content

Slide 139

Slide 139 text

No content

Slide 140

Slide 140 text

Desktop computer with 23” touch screen

Slide 141

Slide 141 text

No content

Slide 142

Slide 142 text

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

Slide 143

Slide 143 text

No content

Slide 144

Slide 144 text

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

Slide 145

Slide 145 text

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

Slide 146

Slide 146 text

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

Slide 147

Slide 147 text

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

Slide 148

Slide 148 text

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

Slide 149

Slide 149 text

So let’s take a closer look…

Slide 150

Slide 150 text

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

Slide 151

Slide 151 text

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

Slide 152

Slide 152 text

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

Slide 153

Slide 153 text

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

Slide 154

Slide 154 text

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

Slide 155

Slide 155 text

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

Slide 156

Slide 156 text

No content

Slide 157

Slide 157 text

No content

Slide 158

Slide 158 text

No content

Slide 159

Slide 159 text

How should web pages change to support voice control?

Slide 160

Slide 160 text

No content

Slide 161

Slide 161 text

No content

Slide 162

Slide 162 text

Google voice search

Slide 163

Slide 163 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 164

Slide 164 text

Web Speech API Specification 19 October 2012 Editors: Glen Shires, Google Inc. Hans Wennborg, Google Inc. Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups.

Slide 165

Slide 165 text

Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult

Slide 166

Slide 166 text

Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult

Slide 167

Slide 167 text

Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult

Slide 168

Slide 168 text

Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events

Slide 169

Slide 169 text

Please refer to the errata for this document, which may include some normative corrections. Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events 5.1.4 SpeechRecognitionError 5.1.5 SpeechRecognitionAlternative 5.1.6 SpeechRecognitionResult Copyright © 2012 the Contributors to the Web Speech API Specification, published by the Speech API Community Group under the W3C Community Final Specification Agreement (FSA). A human-readable summary is available. Abstract This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives. Status of This Document This specification was published by the Speech API Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Final Specification Agreement (FSA) other conditions apply. Learn more about W3C Community and Business Groups. All feedback is welcome. Table of Contents 1 Conformance requirements 2 Introduction 3 Use Cases 4 Security and privacy considerations 5 API Description 5.1 The SpeechRecognition Interface 5.1.1 SpeechRecognition Attributes 5.1.2 SpeechRecognition Methods 5.1.3 SpeechRecognition Events

Slide 170

Slide 170 text

Special thanks to Eric Bidelman http://moreawesomeweb.com Speech Recognition API Support ?

Slide 171

Slide 171 text

No content

Slide 172

Slide 172 text

Gestures?

Slide 173

Slide 173 text

No content

Slide 174

Slide 174 text

No content

Slide 175

Slide 175 text

No content

Slide 176

Slide 176 text

No content

Slide 177

Slide 177 text

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

Slide 178

Slide 178 text

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

Slide 179

Slide 179 text

Dumber

Slide 180

Slide 180 text

Dumber

Slide 181

Slide 181 text

-pad remote controls D

Slide 182

Slide 182 text

-pad remote controls D

Slide 183

Slide 183 text

-pad remote controls D

Slide 184

Slide 184 text

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

Slide 185

Slide 185 text

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

Slide 186

Slide 186 text

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

Slide 187

Slide 187 text

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

Slide 188

Slide 188 text

No content

Slide 189

Slide 189 text

is undetectable. This is a recurring theme for input.

Slide 190

Slide 190 text

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

Slide 191

Slide 191 text

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

Slide 192

Slide 192 text

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

Slide 193

Slide 193 text

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

Slide 194

Slide 194 text

No content

Slide 195

Slide 195 text

Gyroscope & Accelerometer

Slide 196

Slide 196 text

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

Slide 197

Slide 197 text

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

Slide 198

Slide 198 text

No content

Slide 199

Slide 199 text

Hover state No hover state

Slide 200

Slide 200 text

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

Slide 201

Slide 201 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 202

Slide 202 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 203

Slide 203 text

No content

Slide 204

Slide 204 text

No content

Slide 205

Slide 205 text

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

Slide 206

Slide 206 text

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

Slide 207

Slide 207 text

No content

Slide 208

Slide 208 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 209

Slide 209 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 210

Slide 210 text

No content

Slide 211

Slide 211 text

Detect a mouse? Not reliably.

Slide 212

Slide 212 text

No content

Slide 213

Slide 213 text

No content

Slide 214

Slide 214 text

Surely we can detect a keyboard?

Slide 215

Slide 215 text

Surely we can detect a keyboard? NOPE

Slide 216

Slide 216 text

No content

Slide 217

Slide 217 text

Input is dynamic.

Slide 218

Slide 218 text

Input is dynamic.

Slide 219

Slide 219 text

No content

Slide 220

Slide 220 text

No content

Slide 221

Slide 221 text

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

Slide 222

Slide 222 text

No content

Slide 223

Slide 223 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 224

Slide 224 text

No content

Slide 225

Slide 225 text

http://ie.microsoft.com/testdrive/ieblog/2011/Sep/20_TouchInputforIE10andMetrostyleApps_1.png http://www.w3.org/TR/pointerevents/ http://blog.webplatform.org/2013/02/pointing-toward-the-future/ New Pointer Events spec normalizes touch and mouse Pointer Events builds on the DOM event model to offer a new way to handle input on the web, enabling developers to build touch-first experiences that work with mouse, pen, and other pointing devices as well…They are also designed from the ground up to allow modern browsers to accelerate the touch-surface performance, leading to a smoother user experience.

Slide 226

Slide 226 text

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

Slide 227

Slide 227 text

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

Slide 228

Slide 228 text

No content

Slide 229

Slide 229 text

Display density settings

Slide 230

Slide 230 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 231

Slide 231 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 232

Slide 232 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 233

Slide 233 text

Vimeo Couch Mode

Slide 234

Slide 234 text

No content

Slide 235

Slide 235 text

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

Slide 236

Slide 236 text

Responsive is the answer. http://www.flickr.com/photos/38208449@N00/7712219364

Slide 237

Slide 237 text

We need to be responsive. http://www.flickr.com/photos/cdm/147947664/

Slide 238

Slide 238 text

Learn how to let go of the illusions that comfort us. http://www.flickr.com/photos/garibaldi/303085857/

Slide 239

Slide 239 text

No content

Slide 240

Slide 240 text

No content

Slide 241

Slide 241 text

No content

Slide 242

Slide 242 text

This is the web as it should be. As it wants to be. The web in its natural state. http://www.flickr.com/photos/25062265@N06/6069101123

Slide 243

Slide 243 text

It is what our customers expect. http://www.flickr.com/photos/johanl/6798184016

Slide 244

Slide 244 text

If you don’t adapt, then you are ripe for disruption. http://www.flickr.com/photos/gsfc/7521155076/

Slide 245

Slide 245 text

No content

Slide 246

Slide 246 text

Thank You! Special thanks to Luke Wroblewski, Eric Bidelman and Flickr users for generously sharing their photos under creative commons license. Slides: http://bit.ly/grigs-intersystems14