SlideShare a Scribd company logo
Responsive Web Design & Accessibility = ♥
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Responsive Web Design
&
Web Accessibility
george@goodwally.ca
twitter.com/good_wally
#accessconf accessconf.ca
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
George Zamfir
Accessibility solutioneer at Good Wally
goodwally.ca
Co-organizer at
Toronto Accessibility and Inclusive Design
meetup.com/a11yTO
Accessibility consultant at Scotiabank
Presentations: slideshare.net/GeorgeZamfir
Podcast (fairly new): weba.im/webaxe97
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Responsive Web Design (RWD)
&
Web Accessibility (A11Y)
40 min presentation &
10 min of Q & A or more advanced RWD
• responsive web design primer
• accessibility implications
Tuesday, 28 May, 13
The problem reality of today’s web
If responsive design is the solution, what is the problem?
Tuesday, 28 May, 13
• Web design borrowed from print design
• 640x480, 800x600, 1024x768 (consensual hallucination)
• The browser is an unknown constraint
“Essentially, we were making print designs
navigable on a computer”
- A List Apart, Scott Jehl
RWD Overview - the reality of today’s web
Web is not print (anymore)
Tuesday, 28 May, 13
Designing for a new resolution was the exception!
RWD Overview - the reality of today’s web
Web is not print (anymore)
Tuesday, 28 May, 13
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Devices change
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Devices change
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Devices change
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Devices change
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Context changed
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Context changed
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Context changed
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
One web
"The primary design principle underlying the Web’s usefulness
and growth is universality… It must work with any form of
information, be it a document or a point of data, and
information of any quality — from a silly tweet to a scholarly
paper.
And it should be accessible from any kind of hardware that
can connect to the Internet: stationary or mobile, small screen
or large."
- Tim Berners-Lee, Long Live the Web, 2010
http://www.scientificamerican.com/article.cfm?id=long-live-the-web
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Many webs ?
the desktop web
mobile web
tablet web
“phablet” web
“tabtop” web
internet-enabled fridge web
More on “one web”: adactio.com/links/4789
Tuesday, 28 May, 13
RWD Overview - the reality of today’s web
Good News!
The web is inherently fluid & responsive.
We simply need to re-educate ourselves.
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
RWD - The Details
What is RWD? - a definition
Started off as a technique for building one
website that would work on all devices.
"Rather than tailoring disconnected designs for
an ever-increasing number of web devices, we
can treat them as facets of the same experience."
- Ethan Marcotte, Responsive Web Design, 2010
alistapart.com/articles/responsive-web-design
Tuesday, 28 May, 13
RWD Overview
What is RWD?
It’s really an umbrella term for:
• web standards
• best practices
• some new RWD-specific techniques
... formulated in the context of mobile devices.
It’s not new and it’s not revolutionary!
Tuesday, 28 May, 13
RWD - The Details
Tuesday, 28 May, 13
RWD - The Details
Fluid Foundation
flexible layout that uses relative sizing (no fixed widths)
Media Queries
target media types and media features
Responsive Images
relative widths (CSS) and / or dynamic replacement (JS)
Tuesday, 28 May, 13
RWD - The Details
RWD - Fluid Foundation
Tuesday, 28 May, 13
RWD - Fluid Foundation
Declare percentage (%) or ratio (em) widths
instead of absolute values (px)
in order to adapt to the size of the viewport.
section {
margin: 0.5em;
width: 75%;
height: 10em;
}
RWD - The Details
Tuesday, 28 May, 13
Text
RWD - The Viewport
Tuesday, 28 May, 13
RWD - The Viewport
... to adapt to the size of the viewport.
meta
name = "viewport"
content = “
width = device-width,
initial-scale = 1
“
developer.apple.com/library/safari/#documentation/AppleApplications/Reference/
SafariWebContent/UsingtheViewport/UsingtheViewport.html
RWD - The Details
Tuesday, 28 May, 13
Tuesday, 28 May, 13
RWD - Media Queries
<link
rel=”stylesheet”
href="layoutPrint.css"
media="print"
/>
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
<link
rel=”stylesheet”
href="layout.css"
media="screen and (min-width: 400px)"
/>
@media screen and (min-width: 30em) {
// mobile styles here
}
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
CSS 2.1 - media types (e.g. screen, print, etc.)
<link href="style.css"... media="screen" />
<link href="stylePrint.css"... media="print" />
CSS 3 - media queries with features:
@media screen and (min-width: 30em) {
// mobile styles here
}
width, height, max-/min-width, max-/min-height, device-
height, orientation, aspect-ratio, resolution
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
Use ems instead of pxs in media queries!
@media screen and (max-width: 30em) {
// mobile styles here
}
Your users will thank you
(when zooming in on desktop browsers)
Let’s see why
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
(device resolution) device-width
vs
(browser / app resolution) width
device-width is fixed regardless
of the device orientation!
iPhone 4:
device-width = 320px
width = 640px
1 CSS px = 2 device px
RWD - The Details
Tuesday, 28 May, 13
RWD - Media Queries
(device resolution) device-width
vs
(browser / app resolution) width
device-width is fixed regardless
of the device orientation!
iPhone 4:
device-width = 320px
width = 640px
1 CSS px = 2 device px
RWD - The Details
Tuesday, 28 May, 13
RWD - The Details
RWD - Responsive Images
Tuesday, 28 May, 13
RWD - Responsive Images
How do you make fixed-width elements (i.e.
images) work with your awesome fluid layouts?
img {
max-width: 100%;
height: auto;
}
Make images resize with the layout. Also, it’s
much more easier to maintain.
RWD - The Details
Tuesday, 28 May, 13
RWD - The Details
RWD - Responsive Images
New problem
Tuesday, 28 May, 13
RWD - The Details
RWD - Responsive Images
No HTML-based solution
Tuesday, 28 May, 13
RWD - The Details
RWD - Responsive Images
Solutions:
Image Optimization
Scalable Vector Graphics (SVG)
Icon Fonts - css-tricks.com/examples/IconFont
New HTML element - www.responsiveimages.org
Image replacement with polyfills -- picturefill.js
Media Queries - (background) image replacement
Unfortunately, there is no “one size fits all” solution!
Tuesday, 28 May, 13
46.7 kb
103.3 kb
Image Optimizations
Tuesday, 28 May, 13
46.7 kb
103.3 kb
Image Optimizations
Tuesday, 28 May, 13
Scalable Vector Graphics (SVG)
Tuesday, 28 May, 13
Icon Fonts
 
Tuesday, 28 May, 13
W3C “Responsive Images Community Group”
responsiveimages.org
w3.org/community/respimg
New HTML element proposal
RWD under the hood
Tuesday, 28 May, 13
W3C “Responsive Images Community Group”
responsiveimages.org
w3.org/community/respimg
New HTML element proposal
RWD under the hood
Tuesday, 28 May, 13
Image replacement with picturefill.js
github.com/scottjehl/picturefill
RWD under the hood
Let’s see it in action!
Tuesday, 28 May, 13
Media Queries - (background) images replacement
Display different sizes of the image with media queries!
<div id="test5"></div>
@media all and (max-width: 600px) {
#test5 { background-image:url('images/test5-mobile.png'); }
}
@media all and (min-width: 601px) {
#test5 { background-image:url('images/test5-desktop.png'); }
}
RWD under the hood
Tuesday, 28 May, 13
Text
RWD - Responsive Images
adaptive-images.com
filamentgroup.com/lab/rwd_img_compression
cloudfour.com/examples/mediaqueries/image-test
timkadlec.com/2012/04/media-query-asset-downloading-results
css-tricks.com/which-responsive-images-solution-should-you-use
Further reading / resources
Tuesday, 28 May, 13
RWD - The Details
RWD - Summary
Fluid Foundation + Media Queries + Responsive Images
Tuesday, 28 May, 13
RWD - The Details
More than just “squishy” designs
Tuesday, 28 May, 13
Performance
“Well done to Audi and BMW for winning the beauty contest.
From the winner of 2006 International Engine of the Year.”
Tuesday, 28 May, 13
RWD best practices
gomez.com/wp-content/downloads/19986_WhatMobileUsersWant_Wp.pdf
Why is performance important?
Tuesday, 28 May, 13
TextDevice chasing = rabbit hole
Tuesday, 28 May, 13
TextDevice chasing = rabbit hole
Tuesday, 28 May, 13
RWD & A11Y = ♥
They are really good together!
Tuesday, 28 May, 13
RWD & A11Y = ♥ Why?
Personal Overriding Stylesheet
(Fluid Foundation + Media Queries + Responsive Images)
Inherent Inclination to Web Standards
Mobile First+ Progressive Enhancement
Caters to Users' Needs, Devices, Context
Tuesday, 28 May, 13
RWD & A11Y = ♥
Personal Overriding Stylesheet
Less about the design, more about the content!
Tuesday, 28 May, 13
RWD & A11Y = ♥
Personal Overriding Stylesheet
“My basic point is that it should be the content
that dictates the media queries.”
@adactio
Tuesday, 28 May, 13
RWD & A11Y = ♥
“Mobile users want to see our menu, hours and
delivery number. Desktop users definitely want this
1mb png of someone smiling at a salad.”
@wilto
Personal Overriding Stylesheet
Tuesday, 28 May, 13
RWD & A11Y = ♥
“Mobile users want to see our menu, hours and
delivery number. Desktop users definitely want this
1mb png of someone smiling at a salad.”
@wilto
Personal Overriding Stylesheet
“RWD is designing for more accessible content!”
George Zamfir
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
Tuesday, 28 May, 13
RWD & A11Y = ♥
Personal Overriding Stylesheet
Reduced Cognitive & Visual Load
RWD goes beyond layouts & images, we’re now tackling
line & letter spacing (leading & kerning), readable
typefaces (even dyslexia) AND responsive typography.
Tuesday, 28 May, 13
RWD & A11Y = ♥
Personal Overriding Stylesheet
Reduced Cognitive & Visual Load
RWD goes beyond layouts & images, we’re now tackling
line & letter spacing (leading & kerning), readable
typefaces (even dyslexia) AND responsive typography.
“Georgia works perfectly as body text up until 16 pixels. As
soon as you go over that size, it starts to look odd. This is not a
design deficiency of the typeface. It was simply not designed to
work for big body text sizes and dense screens.”
- informationarchitects.net
Tuesday, 28 May, 13
RWD & A11Y = ♥
Kerning Typefaces
Tuesday, 28 May, 13
RWD & A11Y = ♥ Text
Personal Overriding Stylesheet
Fat Fingers Syndrome
Tuesday, 28 May, 13
RWD & A11Y = ♥ Text
Personal Overriding Stylesheet
Fat Fingers Syndrome
What does it mean for a11y?
1 finger, no fingers, motor control,
dexterity, novice IT users, etc.
Tuesday, 28 May, 13
RWD & A11Y = ♥ Text
Personal Overriding Stylesheet
Fat Fingers Syndrome
header[role="banner"] nav a {
padding:0.4em 1em 0.5em;
}
What does it mean for a11y?
1 finger, no fingers, motor control,
dexterity, novice IT users, etc.
Tuesday, 28 May, 13
RWD & A11Y = ♥
Embracing Web Standards
no more
platform specific hacks 
custom controls 
mouse-only hackery
HTML5 & ARIA
Tuesday, 28 May, 13
RWD & A11Y = ♥
Embracing Web Standards
Tuesday, 28 May, 13
RWD & A11Y = ♥
Embracing Web Standards
Tuesday, 28 May, 13
RWD & A11Y = ♥
Mobile First & Progressive Enhancement
Mobile first
designing for the smallest screen resolution first (<320px)
and use it as the base for the next, larger screen
resolutions
Progressive Enhancement
building for the less-capable devices / browsers first
and incrementally enhance for the more capable ones
Tuesday, 28 May, 13
RWD best practices
Progressive Enhancement
Tuesday, 28 May, 13
RWD & A11Y = ♥
Progressive Enhancement
1. build for the less-capable devices / browsers first
2. start low in the stack: HTML(5), CSS, basic JavaScript
3. incrementally enhance for the more capable devices
4. use @media queries and advanced JavaScript
Tuesday, 28 May, 13
RWD pitfalls
JavaScript-ing everything
Tuesday, 28 May, 13
RWD & A11Y = ♥
Progressive Enhancement
Tuesday, 28 May, 13
RWD & A11Y = ♥
Progressive Enhancement
Tuesday, 28 May, 13
Mobile First RWD
Tuesday, 28 May, 13
RWD & A11Y = ♥
Mobile First RWD
Tuesday, 28 May, 13
Mobile Only
Tuesday, 28 May, 13
Mobile Please
Tuesday, 28 May, 13
Tuesday, 28 May, 13
All roads lead to mobile
Tuesday, 28 May, 13
RWD & A11Y = ♥
Mobile First RWD
1. design for the smallest screen resolution first
2. stretch until ugly (not until iPhone screen resolution)
3. (aha) use “ugly” as you breakpoint
4. adapt the content for the new size (until not “ugly”)
Tuesday, 28 May, 13
Mobile First RWD
Tuesday, 28 May, 13
Text
RWD breakpoints
stretch until “ugly” - breakpoint!
Tuesday, 28 May, 13
RWD plan
What’s wrong with this guy
(not liking device-specific breakpoints)
?
I’m not alone:
bradfrostweb.com/demo/ish
“Determining breakpoints for a responsive design” chapter
from the book: implementingresponsivedesign.com
Tuesday, 28 May, 13
RWD plan
http://www.metaltoad.com/blog/simple-device-diagram-responsive-design-planning
It’s a losing battle!
Tuesday, 28 May, 13
desktop screen resolutions
Tuesday, 28 May, 13
mobile screen resolutions
Tuesday, 28 May, 13
mobile browsers
Tuesday, 28 May, 13
your analytics data
Tuesday, 28 May, 13
RWD plan
Which breakpoints should we choose? It depends!
Considerations:
look at devices & browsers market share and their
associated screen resolutions & capabilities
filter with your own analytics data
assess your current design & nature of the content
Mobile first - breakpoints
Tuesday, 28 May, 13
Text
Tuesday, 28 May, 13
Text
There’s no perfect set of breakpoints!
Set the breakpoints based on the target audience, the project
goals, typical device market share, nature of content, design...
Tuesday, 28 May, 13
RWD & A11Y = ♥
It’s all good news
for accessibility!
Mobile First & Progressive Enhancement
Tuesday, 28 May, 13
RWD & A11Y = ♥
Mobile First & Progressive Enhancement
Tuesday, 28 May, 13
RWD & A11Y = ♥
Caters to Users' Needs, Devices, Context
Tuesday, 28 May, 13
RWD & A11Y = ♥
Tuesday, 28 May, 13
RWD & A11Y = ♥
uxmatters.com/mt/archives/2013/02/how-do-users-really-hold-mobile-devices.php?
Tuesday, 28 May, 13
RWD & A11Y = ♥ ?
Tuesday, 28 May, 13
RWD & A11Y = ♥ ?
Accessibility is not lagging behind (for once)
accessibility & web standards are core to RWD
RWD is a champion for web accessibility
we have common goals for our users
RWD is not a fad
Tuesday, 28 May, 13
RWD & A11Y = ♥ ?
Accessibility is not lagging behind (for once)
accessibility & web standards are core to RWD
RWD is a champion for web accessibility
we have common goals for our users
RWD is not a fad
a solid framework for us to do better web work
Tuesday, 28 May, 13
RWD & A11Y = ♥
Tuesday, 28 May, 13
RWD & A11Y = ♥
“RWD is A11Y in disguise!”
- George Zamfir
Try it for yourself: goodwally.ca/rawd_kit.zip
Tuesday, 28 May, 13
goodwally.ca 🌎 @good_wally
Thank you!
Tuesday, 28 May, 13
Text
Credits, Photos, Sources
freevector.com
photobucket.com
phombo.com
ipadwallsdepot.com
www.entypo.com     
splio.com/responsive
flickr.com/photos/merlin/1343376738
http://www.flickr.com/photos/lukew/7382743430/
sizes/l/in/photostream
http://www.slideshare.net/bradfrostweb/for-a-
futurefriendly-web-webvisions-chicago-2012
http://bradfrostweb.com/blog/post/this-is-the-web/
http://www.flickr.com/photos/hoder/1879222816/
http://www.superiormediasolutions.net/wp-content/
uploads/2012/02/couch-shot_highres.jpg
http://www.lukew.com
http://www.clker.com
http://www.netmagazine.com/features/five-
responsive-web-design-pitfalls-avoid
http://www.slideshare.net/AaronGustafson/
progressive-enhancement-mobile
http://www.responsivedesign.ca
http://www.flickr.com/photos/kiwanja/3169449999/
sizes/o/in/photostream/
http://www.yarn-zombie.com/2012/07/zombie-
apocalypse-theres-app-for-that.html
http://cnnphotos.blogs.cnn.com/2012/02/29/
de_vice-our-mobile-addiction/
http://rochellemoulton.com/wp-content/uploads/
2012/12/When-The-Competition-Is-
Perfection-12-10-2012.jpg
http://nasa.gov 
http://www.3dtotal.com/
index_gallery_detailed2.php?
id=4798#.UQHDAaUzhH8
http://www.flickr.com/photos/danmumford/
7945175156/
http://assets2.designerpages.com/assets/1589142/
AHD_-_KR_-_Endless_Table_-_Corian1.jpg
http://services.google.com/fh/files/misc/
multiscreenworld_final.pdf
Tuesday, 28 May, 13
Text
Research & Resources
alistapart.com/articles/responsive-web-design
bradfrostweb.com + bradfrost.github.com/this-is-
responsive/resources.html
netmagazine.com/tutorials/build-responsive-site-week-
designing-responsively-part-1
stuffandnonsense.co.uk/blog/about/
i_dont_care_about_responsive_web_design
msdn.microsoft.com/en-us/magazine/hh653584.aspx
coding.smashingmagazine.com/2011/01/12/
guidelines-for-responsive-web-design
responsivedesign.ca/blog/slidecast-rwd-introduction-
workflow-overview
johnpolacek.github.com/scrolldeck.js/decks/
responsive
github.com/filamentgroup/Responsive-Images
informationarchitects.net/blog/responsive-typography
matanich.com/2012/11/06/picture-polyfill
css-tricks.com/which-responsive-images-solution-
should-you-use
mediaqueri.es + quirksmode.org
http://www.lukew.com/ff/entry.asp?1649
github.com/bradfrost/Mobile-First-RWD
lukew.com/resources/mobile_first.asp 
lukew.com/presos/preso.asp?26
christianheilmann.com/tag/progressive-enhancement/
bdconf.com/2012/orlando/schedule
blog.cloudfour.com/responsive-design-for-apps-part-1
bradfrostweb.com/blog/mobile/bdconf-guy-podjarny-
presents-performance-implication-of-mobile-design
boagworld.com/mobile-web/separate-mobile-site-vs-
responsive-design
developer.mozilla.org/en-US/docs/Web_Development/
Mobile
lukew.com/ff/entry.asp?1506
24ways.org/2011/conditional-loading-for-responsive-
designs
http://www.guypo.com/technical/responsive-web-
design-is-bad-for-performance-there-i-said-it/
http://www.howtogomo.com
 http://bradfrostweb.com/blog/mobile/content-parity/
http://www.akamai.com/dl/akamai/
akamai_soti_q312_exec_summary.pdf
http://www.howtogomo.com
http://www.gomez.com/website-performance-test/
thank-you?
tid=d5be9cec6d6609c8a046ba3155952b25&lang=en&
bu=apm
Tuesday, 28 May, 13

More Related Content

Viewers also liked

503 web accessibility - best practices
503   web accessibility - best practices503   web accessibility - best practices
503 web accessibility - best practicesJoanna Wiebe
 
Developing for Diversity
Developing for DiversityDeveloping for Diversity
Developing for DiversityInclusiveUX
 
Best Practices for Web Accessibility
Best Practices for Web AccessibilityBest Practices for Web Accessibility
Best Practices for Web Accessibility
Carli Spina
 
Screencasting Tutorial DRN
Screencasting Tutorial DRNScreencasting Tutorial DRN
Screencasting Tutorial DRN
drnbc
 
Accessibility for Hybrid Mobile
Accessibility for Hybrid MobileAccessibility for Hybrid Mobile
Accessibility for Hybrid Mobile
Bobby Bristol
 
Agile Accessibility From a Testers Perspective
Agile Accessibility From a Testers PerspectiveAgile Accessibility From a Testers Perspective
Agile Accessibility From a Testers Perspective
Alicia Jarvis, CPACC, CSM
 
Line Height
Line HeightLine Height
Line Height
Russ Weakley
 
SSB BART Group Mobile Accessibility
SSB  BART Group Mobile AccessibilitySSB  BART Group Mobile Accessibility
SSB BART Group Mobile AccessibilityEduardo Meza-Etienne
 
Principales fonctionnalités du CMS Ametys
Principales fonctionnalités du CMS AmetysPrincipales fonctionnalités du CMS Ametys
Principales fonctionnalités du CMS Ametys
Ametys
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
Vero Rebagliatte
 
Mobile Accessibility Best Practices & Trends
Mobile Accessibility Best Practices & TrendsMobile Accessibility Best Practices & Trends
Mobile Accessibility Best Practices & Trends
Aidan Tierney
 
Early prevention of accessibility issues with mockup & wireframe reviews
Early prevention of accessibility issues with mockup & wireframe reviewsEarly prevention of accessibility issues with mockup & wireframe reviews
Early prevention of accessibility issues with mockup & wireframe reviews
Aidan Tierney
 
Embrology of the respiratory system
Embrology of the respiratory systemEmbrology of the respiratory system
Embrology of the respiratory system
Oriba Dan Langoya
 
CSUN - Accessibility and Rapid e-Learning Tools
CSUN - Accessibility and Rapid e-Learning ToolsCSUN - Accessibility and Rapid e-Learning Tools
CSUN - Accessibility and Rapid e-Learning ToolsEduardo Meza-Etienne
 

Viewers also liked (14)

503 web accessibility - best practices
503   web accessibility - best practices503   web accessibility - best practices
503 web accessibility - best practices
 
Developing for Diversity
Developing for DiversityDeveloping for Diversity
Developing for Diversity
 
Best Practices for Web Accessibility
Best Practices for Web AccessibilityBest Practices for Web Accessibility
Best Practices for Web Accessibility
 
Screencasting Tutorial DRN
Screencasting Tutorial DRNScreencasting Tutorial DRN
Screencasting Tutorial DRN
 
Accessibility for Hybrid Mobile
Accessibility for Hybrid MobileAccessibility for Hybrid Mobile
Accessibility for Hybrid Mobile
 
Agile Accessibility From a Testers Perspective
Agile Accessibility From a Testers PerspectiveAgile Accessibility From a Testers Perspective
Agile Accessibility From a Testers Perspective
 
Line Height
Line HeightLine Height
Line Height
 
SSB BART Group Mobile Accessibility
SSB  BART Group Mobile AccessibilitySSB  BART Group Mobile Accessibility
SSB BART Group Mobile Accessibility
 
Principales fonctionnalités du CMS Ametys
Principales fonctionnalités du CMS AmetysPrincipales fonctionnalités du CMS Ametys
Principales fonctionnalités du CMS Ametys
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 
Mobile Accessibility Best Practices & Trends
Mobile Accessibility Best Practices & TrendsMobile Accessibility Best Practices & Trends
Mobile Accessibility Best Practices & Trends
 
Early prevention of accessibility issues with mockup & wireframe reviews
Early prevention of accessibility issues with mockup & wireframe reviewsEarly prevention of accessibility issues with mockup & wireframe reviews
Early prevention of accessibility issues with mockup & wireframe reviews
 
Embrology of the respiratory system
Embrology of the respiratory systemEmbrology of the respiratory system
Embrology of the respiratory system
 
CSUN - Accessibility and Rapid e-Learning Tools
CSUN - Accessibility and Rapid e-Learning ToolsCSUN - Accessibility and Rapid e-Learning Tools
CSUN - Accessibility and Rapid e-Learning Tools
 

Similar to Responsive Web Design - An Accessibility Tool

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Tung Dang
 
Responsive Images and Video
Responsive Images and VideoResponsive Images and Video
Responsive Images and Video
Jason Grigsby
 
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Frédéric Harper
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day psophy
 
MTC13 Android UIs für alle(s)
MTC13 Android UIs für alle(s)MTC13 Android UIs für alle(s)
MTC13 Android UIs für alle(s)
Andreas Hölzl
 
FITC 2013 - The Technical Learning Curve
FITC 2013 - The Technical Learning CurveFITC 2013 - The Technical Learning Curve
FITC 2013 - The Technical Learning Curve
Little Miss Robot
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web DesignZach Leatherman
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web DesignJustin Avery
 
Lean UX Pyramid
Lean UX PyramidLean UX Pyramid
Lean UX Pyramid
Tiago Silva da Silva
 
Mobilism 2013: A story of how we built Responsive BBC News
Mobilism 2013: A story of how we built Responsive BBC NewsMobilism 2013: A story of how we built Responsive BBC News
Mobilism 2013: A story of how we built Responsive BBC News
John Cleveley
 
Sweet and Sassy Responsive Design
Sweet and Sassy Responsive DesignSweet and Sassy Responsive Design
Sweet and Sassy Responsive Design
Mina Markham
 
Responsive Web Design & the Library
Responsive Web Design & the LibraryResponsive Web Design & the Library
Responsive Web Design & the Libraryariannaschlegel
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
Valtech UK
 
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Scott DeLoach
 
The Future of Content Management
The Future of Content ManagementThe Future of Content Management
The Future of Content Management
Rachel Andrew
 
Lone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AngleLone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New Angle
Pablo Godel
 
Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13
Frédéric Harper
 
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly websiteLDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
Adido
 

Similar to Responsive Web Design - An Accessibility Tool (20)

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Images and Video
Responsive Images and VideoResponsive Images and Video
Responsive Images and Video
 
Design
DesignDesign
Design
 
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day
 
MTC13 Android UIs für alle(s)
MTC13 Android UIs für alle(s)MTC13 Android UIs für alle(s)
MTC13 Android UIs für alle(s)
 
FITC 2013 - The Technical Learning Curve
FITC 2013 - The Technical Learning CurveFITC 2013 - The Technical Learning Curve
FITC 2013 - The Technical Learning Curve
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web Design
 
Css2
Css2Css2
Css2
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Lean UX Pyramid
Lean UX PyramidLean UX Pyramid
Lean UX Pyramid
 
Mobilism 2013: A story of how we built Responsive BBC News
Mobilism 2013: A story of how we built Responsive BBC NewsMobilism 2013: A story of how we built Responsive BBC News
Mobilism 2013: A story of how we built Responsive BBC News
 
Sweet and Sassy Responsive Design
Sweet and Sassy Responsive DesignSweet and Sassy Responsive Design
Sweet and Sassy Responsive Design
 
Responsive Web Design & the Library
Responsive Web Design & the LibraryResponsive Web Design & the Library
Responsive Web Design & the Library
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
 
The Future of Content Management
The Future of Content ManagementThe Future of Content Management
The Future of Content Management
 
Lone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AngleLone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New Angle
 
Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13
 
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly websiteLDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
LDD Southern Summit 2013 - Adido - The theatre of the future-friendly website
 

Recently uploaded

FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 

Responsive Web Design - An Accessibility Tool

  • 1. Responsive Web Design & Accessibility = ♥ Tuesday, 28 May, 13
  • 2. goodwally.ca 🌎 @good_wally Responsive Web Design & Web Accessibility george@goodwally.ca twitter.com/good_wally #accessconf accessconf.ca Tuesday, 28 May, 13
  • 3. goodwally.ca 🌎 @good_wally George Zamfir Accessibility solutioneer at Good Wally goodwally.ca Co-organizer at Toronto Accessibility and Inclusive Design meetup.com/a11yTO Accessibility consultant at Scotiabank Presentations: slideshare.net/GeorgeZamfir Podcast (fairly new): weba.im/webaxe97 Tuesday, 28 May, 13
  • 10. goodwally.ca 🌎 @good_wally Responsive Web Design (RWD) & Web Accessibility (A11Y) 40 min presentation & 10 min of Q & A or more advanced RWD • responsive web design primer • accessibility implications Tuesday, 28 May, 13
  • 11. The problem reality of today’s web If responsive design is the solution, what is the problem? Tuesday, 28 May, 13
  • 12. • Web design borrowed from print design • 640x480, 800x600, 1024x768 (consensual hallucination) • The browser is an unknown constraint “Essentially, we were making print designs navigable on a computer” - A List Apart, Scott Jehl RWD Overview - the reality of today’s web Web is not print (anymore) Tuesday, 28 May, 13
  • 13. Designing for a new resolution was the exception! RWD Overview - the reality of today’s web Web is not print (anymore) Tuesday, 28 May, 13
  • 15. RWD Overview - the reality of today’s web Devices change Tuesday, 28 May, 13
  • 16. RWD Overview - the reality of today’s web Devices change Tuesday, 28 May, 13
  • 17. RWD Overview - the reality of today’s web Devices change Tuesday, 28 May, 13
  • 18. RWD Overview - the reality of today’s web Devices change Tuesday, 28 May, 13
  • 19. RWD Overview - the reality of today’s web Context changed Tuesday, 28 May, 13
  • 20. RWD Overview - the reality of today’s web Context changed Tuesday, 28 May, 13
  • 21. RWD Overview - the reality of today’s web Context changed Tuesday, 28 May, 13
  • 22. RWD Overview - the reality of today’s web One web "The primary design principle underlying the Web’s usefulness and growth is universality… It must work with any form of information, be it a document or a point of data, and information of any quality — from a silly tweet to a scholarly paper. And it should be accessible from any kind of hardware that can connect to the Internet: stationary or mobile, small screen or large." - Tim Berners-Lee, Long Live the Web, 2010 http://www.scientificamerican.com/article.cfm?id=long-live-the-web Tuesday, 28 May, 13
  • 23. RWD Overview - the reality of today’s web Many webs ? the desktop web mobile web tablet web “phablet” web “tabtop” web internet-enabled fridge web More on “one web”: adactio.com/links/4789 Tuesday, 28 May, 13
  • 24. RWD Overview - the reality of today’s web Good News! The web is inherently fluid & responsive. We simply need to re-educate ourselves. Tuesday, 28 May, 13
  • 34. RWD - The Details What is RWD? - a definition Started off as a technique for building one website that would work on all devices. "Rather than tailoring disconnected designs for an ever-increasing number of web devices, we can treat them as facets of the same experience." - Ethan Marcotte, Responsive Web Design, 2010 alistapart.com/articles/responsive-web-design Tuesday, 28 May, 13
  • 35. RWD Overview What is RWD? It’s really an umbrella term for: • web standards • best practices • some new RWD-specific techniques ... formulated in the context of mobile devices. It’s not new and it’s not revolutionary! Tuesday, 28 May, 13
  • 36. RWD - The Details Tuesday, 28 May, 13
  • 37. RWD - The Details Fluid Foundation flexible layout that uses relative sizing (no fixed widths) Media Queries target media types and media features Responsive Images relative widths (CSS) and / or dynamic replacement (JS) Tuesday, 28 May, 13
  • 38. RWD - The Details RWD - Fluid Foundation Tuesday, 28 May, 13
  • 39. RWD - Fluid Foundation Declare percentage (%) or ratio (em) widths instead of absolute values (px) in order to adapt to the size of the viewport. section { margin: 0.5em; width: 75%; height: 10em; } RWD - The Details Tuesday, 28 May, 13
  • 40. Text RWD - The Viewport Tuesday, 28 May, 13
  • 41. RWD - The Viewport ... to adapt to the size of the viewport. meta name = "viewport" content = “ width = device-width, initial-scale = 1 “ developer.apple.com/library/safari/#documentation/AppleApplications/Reference/ SafariWebContent/UsingtheViewport/UsingtheViewport.html RWD - The Details Tuesday, 28 May, 13
  • 43. RWD - Media Queries <link rel=”stylesheet” href="layoutPrint.css" media="print" /> RWD - The Details Tuesday, 28 May, 13
  • 44. RWD - Media Queries <link rel=”stylesheet” href="layout.css" media="screen and (min-width: 400px)" /> @media screen and (min-width: 30em) { // mobile styles here } RWD - The Details Tuesday, 28 May, 13
  • 45. RWD - Media Queries RWD - The Details Tuesday, 28 May, 13
  • 46. RWD - Media Queries RWD - The Details Tuesday, 28 May, 13
  • 47. RWD - Media Queries CSS 2.1 - media types (e.g. screen, print, etc.) <link href="style.css"... media="screen" /> <link href="stylePrint.css"... media="print" /> CSS 3 - media queries with features: @media screen and (min-width: 30em) { // mobile styles here } width, height, max-/min-width, max-/min-height, device- height, orientation, aspect-ratio, resolution RWD - The Details Tuesday, 28 May, 13
  • 48. RWD - Media Queries Use ems instead of pxs in media queries! @media screen and (max-width: 30em) { // mobile styles here } Your users will thank you (when zooming in on desktop browsers) Let’s see why RWD - The Details Tuesday, 28 May, 13
  • 49. RWD - Media Queries (device resolution) device-width vs (browser / app resolution) width device-width is fixed regardless of the device orientation! iPhone 4: device-width = 320px width = 640px 1 CSS px = 2 device px RWD - The Details Tuesday, 28 May, 13
  • 50. RWD - Media Queries (device resolution) device-width vs (browser / app resolution) width device-width is fixed regardless of the device orientation! iPhone 4: device-width = 320px width = 640px 1 CSS px = 2 device px RWD - The Details Tuesday, 28 May, 13
  • 51. RWD - The Details RWD - Responsive Images Tuesday, 28 May, 13
  • 52. RWD - Responsive Images How do you make fixed-width elements (i.e. images) work with your awesome fluid layouts? img { max-width: 100%; height: auto; } Make images resize with the layout. Also, it’s much more easier to maintain. RWD - The Details Tuesday, 28 May, 13
  • 53. RWD - The Details RWD - Responsive Images New problem Tuesday, 28 May, 13
  • 54. RWD - The Details RWD - Responsive Images No HTML-based solution Tuesday, 28 May, 13
  • 55. RWD - The Details RWD - Responsive Images Solutions: Image Optimization Scalable Vector Graphics (SVG) Icon Fonts - css-tricks.com/examples/IconFont New HTML element - www.responsiveimages.org Image replacement with polyfills -- picturefill.js Media Queries - (background) image replacement Unfortunately, there is no “one size fits all” solution! Tuesday, 28 May, 13
  • 56. 46.7 kb 103.3 kb Image Optimizations Tuesday, 28 May, 13
  • 57. 46.7 kb 103.3 kb Image Optimizations Tuesday, 28 May, 13
  • 58. Scalable Vector Graphics (SVG) Tuesday, 28 May, 13
  • 60. W3C “Responsive Images Community Group” responsiveimages.org w3.org/community/respimg New HTML element proposal RWD under the hood Tuesday, 28 May, 13
  • 61. W3C “Responsive Images Community Group” responsiveimages.org w3.org/community/respimg New HTML element proposal RWD under the hood Tuesday, 28 May, 13
  • 62. Image replacement with picturefill.js github.com/scottjehl/picturefill RWD under the hood Let’s see it in action! Tuesday, 28 May, 13
  • 63. Media Queries - (background) images replacement Display different sizes of the image with media queries! <div id="test5"></div> @media all and (max-width: 600px) { #test5 { background-image:url('images/test5-mobile.png'); } } @media all and (min-width: 601px) { #test5 { background-image:url('images/test5-desktop.png'); } } RWD under the hood Tuesday, 28 May, 13
  • 64. Text RWD - Responsive Images adaptive-images.com filamentgroup.com/lab/rwd_img_compression cloudfour.com/examples/mediaqueries/image-test timkadlec.com/2012/04/media-query-asset-downloading-results css-tricks.com/which-responsive-images-solution-should-you-use Further reading / resources Tuesday, 28 May, 13
  • 65. RWD - The Details RWD - Summary Fluid Foundation + Media Queries + Responsive Images Tuesday, 28 May, 13
  • 66. RWD - The Details More than just “squishy” designs Tuesday, 28 May, 13
  • 67. Performance “Well done to Audi and BMW for winning the beauty contest. From the winner of 2006 International Engine of the Year.” Tuesday, 28 May, 13
  • 69. TextDevice chasing = rabbit hole Tuesday, 28 May, 13
  • 70. TextDevice chasing = rabbit hole Tuesday, 28 May, 13
  • 71. RWD & A11Y = ♥ They are really good together! Tuesday, 28 May, 13
  • 72. RWD & A11Y = ♥ Why? Personal Overriding Stylesheet (Fluid Foundation + Media Queries + Responsive Images) Inherent Inclination to Web Standards Mobile First+ Progressive Enhancement Caters to Users' Needs, Devices, Context Tuesday, 28 May, 13
  • 73. RWD & A11Y = ♥ Personal Overriding Stylesheet Less about the design, more about the content! Tuesday, 28 May, 13
  • 74. RWD & A11Y = ♥ Personal Overriding Stylesheet “My basic point is that it should be the content that dictates the media queries.” @adactio Tuesday, 28 May, 13
  • 75. RWD & A11Y = ♥ “Mobile users want to see our menu, hours and delivery number. Desktop users definitely want this 1mb png of someone smiling at a salad.” @wilto Personal Overriding Stylesheet Tuesday, 28 May, 13
  • 76. RWD & A11Y = ♥ “Mobile users want to see our menu, hours and delivery number. Desktop users definitely want this 1mb png of someone smiling at a salad.” @wilto Personal Overriding Stylesheet “RWD is designing for more accessible content!” George Zamfir Tuesday, 28 May, 13
  • 80. RWD & A11Y = ♥ Personal Overriding Stylesheet Reduced Cognitive & Visual Load RWD goes beyond layouts & images, we’re now tackling line & letter spacing (leading & kerning), readable typefaces (even dyslexia) AND responsive typography. Tuesday, 28 May, 13
  • 81. RWD & A11Y = ♥ Personal Overriding Stylesheet Reduced Cognitive & Visual Load RWD goes beyond layouts & images, we’re now tackling line & letter spacing (leading & kerning), readable typefaces (even dyslexia) AND responsive typography. “Georgia works perfectly as body text up until 16 pixels. As soon as you go over that size, it starts to look odd. This is not a design deficiency of the typeface. It was simply not designed to work for big body text sizes and dense screens.” - informationarchitects.net Tuesday, 28 May, 13
  • 82. RWD & A11Y = ♥ Kerning Typefaces Tuesday, 28 May, 13
  • 83. RWD & A11Y = ♥ Text Personal Overriding Stylesheet Fat Fingers Syndrome Tuesday, 28 May, 13
  • 84. RWD & A11Y = ♥ Text Personal Overriding Stylesheet Fat Fingers Syndrome What does it mean for a11y? 1 finger, no fingers, motor control, dexterity, novice IT users, etc. Tuesday, 28 May, 13
  • 85. RWD & A11Y = ♥ Text Personal Overriding Stylesheet Fat Fingers Syndrome header[role="banner"] nav a { padding:0.4em 1em 0.5em; } What does it mean for a11y? 1 finger, no fingers, motor control, dexterity, novice IT users, etc. Tuesday, 28 May, 13
  • 86. RWD & A11Y = ♥ Embracing Web Standards no more platform specific hacks  custom controls  mouse-only hackery HTML5 & ARIA Tuesday, 28 May, 13
  • 87. RWD & A11Y = ♥ Embracing Web Standards Tuesday, 28 May, 13
  • 88. RWD & A11Y = ♥ Embracing Web Standards Tuesday, 28 May, 13
  • 89. RWD & A11Y = ♥ Mobile First & Progressive Enhancement Mobile first designing for the smallest screen resolution first (<320px) and use it as the base for the next, larger screen resolutions Progressive Enhancement building for the less-capable devices / browsers first and incrementally enhance for the more capable ones Tuesday, 28 May, 13
  • 90. RWD best practices Progressive Enhancement Tuesday, 28 May, 13
  • 91. RWD & A11Y = ♥ Progressive Enhancement 1. build for the less-capable devices / browsers first 2. start low in the stack: HTML(5), CSS, basic JavaScript 3. incrementally enhance for the more capable devices 4. use @media queries and advanced JavaScript Tuesday, 28 May, 13
  • 93. RWD & A11Y = ♥ Progressive Enhancement Tuesday, 28 May, 13
  • 94. RWD & A11Y = ♥ Progressive Enhancement Tuesday, 28 May, 13
  • 96. RWD & A11Y = ♥ Mobile First RWD Tuesday, 28 May, 13
  • 100. All roads lead to mobile Tuesday, 28 May, 13
  • 101. RWD & A11Y = ♥ Mobile First RWD 1. design for the smallest screen resolution first 2. stretch until ugly (not until iPhone screen resolution) 3. (aha) use “ugly” as you breakpoint 4. adapt the content for the new size (until not “ugly”) Tuesday, 28 May, 13
  • 103. Text RWD breakpoints stretch until “ugly” - breakpoint! Tuesday, 28 May, 13
  • 104. RWD plan What’s wrong with this guy (not liking device-specific breakpoints) ? I’m not alone: bradfrostweb.com/demo/ish “Determining breakpoints for a responsive design” chapter from the book: implementingresponsivedesign.com Tuesday, 28 May, 13
  • 110. RWD plan Which breakpoints should we choose? It depends! Considerations: look at devices & browsers market share and their associated screen resolutions & capabilities filter with your own analytics data assess your current design & nature of the content Mobile first - breakpoints Tuesday, 28 May, 13
  • 112. Text There’s no perfect set of breakpoints! Set the breakpoints based on the target audience, the project goals, typical device market share, nature of content, design... Tuesday, 28 May, 13
  • 113. RWD & A11Y = ♥ It’s all good news for accessibility! Mobile First & Progressive Enhancement Tuesday, 28 May, 13
  • 114. RWD & A11Y = ♥ Mobile First & Progressive Enhancement Tuesday, 28 May, 13
  • 115. RWD & A11Y = ♥ Caters to Users' Needs, Devices, Context Tuesday, 28 May, 13
  • 116. RWD & A11Y = ♥ Tuesday, 28 May, 13
  • 117. RWD & A11Y = ♥ uxmatters.com/mt/archives/2013/02/how-do-users-really-hold-mobile-devices.php? Tuesday, 28 May, 13
  • 118. RWD & A11Y = ♥ ? Tuesday, 28 May, 13
  • 119. RWD & A11Y = ♥ ? Accessibility is not lagging behind (for once) accessibility & web standards are core to RWD RWD is a champion for web accessibility we have common goals for our users RWD is not a fad Tuesday, 28 May, 13
  • 120. RWD & A11Y = ♥ ? Accessibility is not lagging behind (for once) accessibility & web standards are core to RWD RWD is a champion for web accessibility we have common goals for our users RWD is not a fad a solid framework for us to do better web work Tuesday, 28 May, 13
  • 121. RWD & A11Y = ♥ Tuesday, 28 May, 13
  • 122. RWD & A11Y = ♥ “RWD is A11Y in disguise!” - George Zamfir Try it for yourself: goodwally.ca/rawd_kit.zip Tuesday, 28 May, 13
  • 123. goodwally.ca 🌎 @good_wally Thank you! Tuesday, 28 May, 13
  • 124. Text Credits, Photos, Sources freevector.com photobucket.com phombo.com ipadwallsdepot.com www.entypo.com      splio.com/responsive flickr.com/photos/merlin/1343376738 http://www.flickr.com/photos/lukew/7382743430/ sizes/l/in/photostream http://www.slideshare.net/bradfrostweb/for-a- futurefriendly-web-webvisions-chicago-2012 http://bradfrostweb.com/blog/post/this-is-the-web/ http://www.flickr.com/photos/hoder/1879222816/ http://www.superiormediasolutions.net/wp-content/ uploads/2012/02/couch-shot_highres.jpg http://www.lukew.com http://www.clker.com http://www.netmagazine.com/features/five- responsive-web-design-pitfalls-avoid http://www.slideshare.net/AaronGustafson/ progressive-enhancement-mobile http://www.responsivedesign.ca http://www.flickr.com/photos/kiwanja/3169449999/ sizes/o/in/photostream/ http://www.yarn-zombie.com/2012/07/zombie- apocalypse-theres-app-for-that.html http://cnnphotos.blogs.cnn.com/2012/02/29/ de_vice-our-mobile-addiction/ http://rochellemoulton.com/wp-content/uploads/ 2012/12/When-The-Competition-Is- Perfection-12-10-2012.jpg http://nasa.gov  http://www.3dtotal.com/ index_gallery_detailed2.php? id=4798#.UQHDAaUzhH8 http://www.flickr.com/photos/danmumford/ 7945175156/ http://assets2.designerpages.com/assets/1589142/ AHD_-_KR_-_Endless_Table_-_Corian1.jpg http://services.google.com/fh/files/misc/ multiscreenworld_final.pdf Tuesday, 28 May, 13
  • 125. Text Research & Resources alistapart.com/articles/responsive-web-design bradfrostweb.com + bradfrost.github.com/this-is- responsive/resources.html netmagazine.com/tutorials/build-responsive-site-week- designing-responsively-part-1 stuffandnonsense.co.uk/blog/about/ i_dont_care_about_responsive_web_design msdn.microsoft.com/en-us/magazine/hh653584.aspx coding.smashingmagazine.com/2011/01/12/ guidelines-for-responsive-web-design responsivedesign.ca/blog/slidecast-rwd-introduction- workflow-overview johnpolacek.github.com/scrolldeck.js/decks/ responsive github.com/filamentgroup/Responsive-Images informationarchitects.net/blog/responsive-typography matanich.com/2012/11/06/picture-polyfill css-tricks.com/which-responsive-images-solution- should-you-use mediaqueri.es + quirksmode.org http://www.lukew.com/ff/entry.asp?1649 github.com/bradfrost/Mobile-First-RWD lukew.com/resources/mobile_first.asp  lukew.com/presos/preso.asp?26 christianheilmann.com/tag/progressive-enhancement/ bdconf.com/2012/orlando/schedule blog.cloudfour.com/responsive-design-for-apps-part-1 bradfrostweb.com/blog/mobile/bdconf-guy-podjarny- presents-performance-implication-of-mobile-design boagworld.com/mobile-web/separate-mobile-site-vs- responsive-design developer.mozilla.org/en-US/docs/Web_Development/ Mobile lukew.com/ff/entry.asp?1506 24ways.org/2011/conditional-loading-for-responsive- designs http://www.guypo.com/technical/responsive-web- design-is-bad-for-performance-there-i-said-it/ http://www.howtogomo.com  http://bradfrostweb.com/blog/mobile/content-parity/ http://www.akamai.com/dl/akamai/ akamai_soti_q312_exec_summary.pdf http://www.howtogomo.com http://www.gomez.com/website-performance-test/ thank-you? tid=d5be9cec6d6609c8a046ba3155952b25&lang=en& bu=apm Tuesday, 28 May, 13