SlideShare a Scribd company logo
1 of 91
Download to read offline
Responsive Web Design
                                   &
                           Web Accessibility
               george zamfir                #a11yTO
               meetup.com/a11yTO       @a11yCampTO




          @good_wally                      goodwally.ca   🌎
Tuesday, 20 November, 12
RWD & A11Y = ♥
               They are really good together!
Tuesday, 20 November, 12
Responsive Web Design (RWD)
                                    &
                           Web Accessibility

               30 min presentation & 20 min of conversations

               • part case study
               • part primer on responsive web design
               • RWD & A11Y = ♥

          @good_wally                             goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
For my day job I work on this stuff...




          @good_wally                 goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
In my spare time...




          @good_wally                      goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
      @good_wally     goodwally.ca   🌎
Tuesday, 20 November, 12
But I also get to work on cool stuff like
                     this... ghiglione.ca




          @good_wally                    goodwally.ca   🌎
Tuesday, 20 November, 12
What is
           Responsive Web Design (rwd) ?




Tuesday, 20 November, 12
What is
           Responsive Web Design (rwd) ?

                             Started off as a technique
                           for building one website that
                            would work on all devices.




Tuesday, 20 November, 12
Why do we need
           Responsive Web Design (rwd) ?




Tuesday, 20 November, 12
Why do we need
           Responsive Web Design (rwd) ?

           "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
                           alistapart.com/articles/responsive-web-design




Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
RWD - Under the hood
           Fluid Foundation
           no fixed-width layouts. or PXs. seriously


           Media Queries
           target media types and media features


           Responsive Images
           percentage widths (+ *sigh* serving multiple images)




Tuesday, 20 November, 12
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;
           }

           <meta name="viewport" content="width=device-width">



Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
RWD - Media Queries
           It’s how you target specific media AND media features!

           /* 30em = 480px */
           @media screen and (min-width: 30em) {
             h1 {font-size: 1em;}
           }

           /* 30em = 480px and 48em = 768px */
           @media screen and (min-width: 30em) and (max-
           width: 48em) {
             h1 {font-size: 1.5em;}
           }

           How about them breakpoints?

Tuesday, 20 November, 12
RWD - Responsive Images




Tuesday, 20 November, 12
RWD - Responsive Images

           How do you make fixed-width elements (i.e.
           images) work with your awesome fluid layout?

           img {
             max-width: 100%;
             height: auto;
           }




Tuesday, 20 November, 12
RWD - Responsive Images




Tuesday, 20 November, 12
RWD - Responsive Images
                           New problem




Tuesday, 20 November, 12
RWD - Responsive Images
                           New problem




Tuesday, 20 November, 12
RWD - Responsive Images
                           New problem




Tuesday, 20 November, 12
RWD - Responsive Images
                              Solutions
           Image Optimization
           Scalable Vector Graphics (SVG)
           Media Queries - (background) image replacement
           Icon Fonts - css-tricks.com/examples/IconFont
           A new HTML element - w3.org/community/respimg




Tuesday, 20 November, 12
RWD - Responsive Images
                                    Solutions
           Image Optimization
           Scalable Vector Graphics (SVG)
           Media Queries - (background) image replacement
           Icon Fonts - css-tricks.com/examples/IconFont
           A new HTML element - w3.org/community/respimg

            Unfortunately, there is no “one solution to rule them all”!

            css-tricks.com/which-responsive-images-solution-should-you-use


Tuesday, 20 November, 12
RWD - Summary
            Fluid Foundation + Media Queries + Responsive Images




Tuesday, 20 November, 12
RWD = FutureFriend.ly




Tuesday, 20 November, 12
RWD & A11Y = ♥
Tuesday, 20 November, 12
So, why are RWD & A11Y
                            really good together !?
Tuesday, 20 November, 12
RWD & A11Y = ♥                              Why?

             Personal Ov errid ing Stylesheet
            (Fluid Foundation + Media Queries + Responsive Images)


            Inherent Inclination to Web Standards

           Mobile First + Progressive Enhancement

           Caters to Users' Needs, Devices, Context

Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Less about the design, more about the content!




Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Less about the design, more about the content!




           Think about it!
           We’re changing the CSS stylesheet to suit our needs!


Tuesday, 20 November, 12
Personal Overriding Stylesheet



           “My basic point is that it should be the content
           that dictates the media queries.”
                                                   @adactio




Tuesday, 20 November, 12
Personal Overriding Stylesheet



          “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




Tuesday, 20 November, 12
Personal Overriding Stylesheet



          “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

           “RWD is designing for more accessible content!”




Tuesday, 20 November, 12
Personal Overriding Stylesheet



          “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

           “RWD is designing for more accessible content!”
                                                George Zamfir



Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Moaaar Accessible Content!
          “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

           “RWD is designing for more accessible content!”
                                                George Zamfir



Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
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, 20 November, 12
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, 20 November, 12
Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Fat Fingers Syndrome




Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Fat Fingers Syndrome
          Don’t make me think! (Steve Krug)




Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Fat Fingers Syndrome
          Don’t make me think! (Steve Krug)


          What does it mean for a11y?
          1 finger, no fingers, motor control,
          dexterity, novice IT users, etc.




Tuesday, 20 November, 12
Personal Overriding Stylesheet

           Fat Fingers Syndrome
          Don’t make me think! (Steve Krug)


          What does it mean for a11y?
          1 finger, no fingers, motor control,
          dexterity, novice IT users, etc.


           header[role="banner"] nav a {
             padding:0.4em 1em 0.5em;
           }



Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Tuesday, 20 November, 12
Embracing Web Standards

                           platform specific hacks 
           no more         custom controls 
                           mouse-only wankery




Tuesday, 20 November, 12
Embracing Web Standards

                            platform specific hacks 
           no more          custom controls 
                            mouse-only wankery


                           HTML5 & ARIA

Tuesday, 20 November, 12
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, 20 November, 12
Progressive Enhancement




Tuesday, 20 November, 12
Progressive Enhancement
           An escalator can never break--it can only become stairs.

           You would never see an "Escalator Temporarily Out Of
           Order" sign, just "Escalator Temporarily Stairs”.

           Sorry for the convenience. We apologize for the fact
           that you can still get up there."
                                                - Mitch Hedberg



Tuesday, 20 November, 12
Progressive Enhancement




Tuesday, 20 November, 12
Mobile First




Tuesday, 20 November, 12
Mobile First




Tuesday, 20 November, 12
Mobile First & Progressive Enhancement




Tuesday, 20 November, 12
Mobile First & Progressive Enhancement




                           It’s all good news
                           for accessibility!



Tuesday, 20 November, 12
Mobile First & Progressive Enhancement




Tuesday, 20 November, 12
Caters to Users' Needs, Devices, Context




Tuesday, 20 November, 12
RWD & A11Y = ♥   ?




Tuesday, 20 November, 12
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, 20 November, 12
RWD & A11Y = ♥   ?




Tuesday, 20 November, 12
RWD & A11Y = ♥                               ?


                           “RWD is A11Y in disguise!”
                                                                   - George Zamfir




                            Try it for yourself: goodwally.ca/rawd_kit.zip




Tuesday, 20 November, 12
RWD & A11Y = ♥                               ?


                           “RWD is A11Y in disguise!”
                                                                   - George Zamfir




                            Try it for yourself: goodwally.ca/rawd_kit.zip




Tuesday, 20 November, 12
Thank you!




          @good_wally                  goodwally.ca   🌎
Tuesday, 20 November, 12
Credits, Photos, Sources




Tuesday, 20 November, 12
Credits, Photos, Sources
                                        freevector.com

                                       photobucket.com

                                         phombo.com

                                      ipadwallsdepot.com

                                       www.entypo.com     

                                     splio.com/responsive

                              flickr.com/photos/merlin/1343376738

                                  lukew.com/ff/entry.asp?1649




Tuesday, 20 November, 12
Research & Resources




Tuesday, 20 November, 12
Research & Resources
        Responsive Web Design
        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


        Mobile First & Progressive Enhancement
        github.com/bradfrost/Mobile-First-RWD
        lukew.com/resources/mobile_first.asp 
        lukew.com/presos/preso.asp?26 (preso slides + audio + video)
        christianheilmann.com/tag/progressive-enhancement/

Tuesday, 20 November, 12

More Related Content

Recently uploaded

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Recently uploaded (20)

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Responsive Web Design & Accessibility

  • 1. Responsive Web Design & Web Accessibility george zamfir #a11yTO meetup.com/a11yTO @a11yCampTO  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 2. RWD & A11Y = ♥ They are really good together! Tuesday, 20 November, 12
  • 3. Responsive Web Design (RWD) & Web Accessibility 30 min presentation & 20 min of conversations • part case study • part primer on responsive web design • RWD & A11Y = ♥  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 4. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 5. For my day job I work on this stuff...  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 6. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 7. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 8. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 9. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 10. In my spare time...  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 11. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 12. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 13. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 14. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 15. @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 16. But I also get to work on cool stuff like this... ghiglione.ca  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 17. What is Responsive Web Design (rwd) ? Tuesday, 20 November, 12
  • 18. What is Responsive Web Design (rwd) ? Started off as a technique for building one website that would work on all devices. Tuesday, 20 November, 12
  • 19. Why do we need Responsive Web Design (rwd) ? Tuesday, 20 November, 12
  • 20. Why do we need Responsive Web Design (rwd) ? "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 alistapart.com/articles/responsive-web-design Tuesday, 20 November, 12
  • 31. RWD - Under the hood Fluid Foundation no fixed-width layouts. or PXs. seriously Media Queries target media types and media features Responsive Images percentage widths (+ *sigh* serving multiple images) Tuesday, 20 November, 12
  • 32. 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; } <meta name="viewport" content="width=device-width"> Tuesday, 20 November, 12
  • 36. RWD - Media Queries It’s how you target specific media AND media features! /* 30em = 480px */ @media screen and (min-width: 30em) { h1 {font-size: 1em;} } /* 30em = 480px and 48em = 768px */ @media screen and (min-width: 30em) and (max- width: 48em) { h1 {font-size: 1.5em;} } How about them breakpoints? Tuesday, 20 November, 12
  • 37. RWD - Responsive Images Tuesday, 20 November, 12
  • 38. RWD - Responsive Images How do you make fixed-width elements (i.e. images) work with your awesome fluid layout? img { max-width: 100%; height: auto; } Tuesday, 20 November, 12
  • 39. RWD - Responsive Images Tuesday, 20 November, 12
  • 40. RWD - Responsive Images New problem Tuesday, 20 November, 12
  • 41. RWD - Responsive Images New problem Tuesday, 20 November, 12
  • 42. RWD - Responsive Images New problem Tuesday, 20 November, 12
  • 43. RWD - Responsive Images Solutions Image Optimization Scalable Vector Graphics (SVG) Media Queries - (background) image replacement Icon Fonts - css-tricks.com/examples/IconFont A new HTML element - w3.org/community/respimg Tuesday, 20 November, 12
  • 44. RWD - Responsive Images Solutions Image Optimization Scalable Vector Graphics (SVG) Media Queries - (background) image replacement Icon Fonts - css-tricks.com/examples/IconFont A new HTML element - w3.org/community/respimg Unfortunately, there is no “one solution to rule them all”! css-tricks.com/which-responsive-images-solution-should-you-use Tuesday, 20 November, 12
  • 45. RWD - Summary Fluid Foundation + Media Queries + Responsive Images Tuesday, 20 November, 12
  • 47. RWD & A11Y = ♥ Tuesday, 20 November, 12
  • 48. So, why are RWD & A11Y really good together !? Tuesday, 20 November, 12
  • 49. RWD & A11Y = ♥ Why? Personal Ov errid ing Stylesheet (Fluid Foundation + Media Queries + Responsive Images) Inherent Inclination to Web Standards Mobile First + Progressive Enhancement Caters to Users' Needs, Devices, Context Tuesday, 20 November, 12
  • 50. Personal Overriding Stylesheet Less about the design, more about the content! Tuesday, 20 November, 12
  • 51. Personal Overriding Stylesheet Less about the design, more about the content! Think about it! We’re changing the CSS stylesheet to suit our needs! Tuesday, 20 November, 12
  • 52. Personal Overriding Stylesheet “My basic point is that it should be the content that dictates the media queries.” @adactio Tuesday, 20 November, 12
  • 53. Personal Overriding Stylesheet “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 Tuesday, 20 November, 12
  • 54. Personal Overriding Stylesheet “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 “RWD is designing for more accessible content!” Tuesday, 20 November, 12
  • 55. Personal Overriding Stylesheet “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 “RWD is designing for more accessible content!” George Zamfir Tuesday, 20 November, 12
  • 56. Personal Overriding Stylesheet Moaaar Accessible Content! “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 “RWD is designing for more accessible content!” George Zamfir Tuesday, 20 November, 12
  • 60. 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, 20 November, 12
  • 61. 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, 20 November, 12
  • 63. Personal Overriding Stylesheet Fat Fingers Syndrome Tuesday, 20 November, 12
  • 64. Personal Overriding Stylesheet Fat Fingers Syndrome Don’t make me think! (Steve Krug) Tuesday, 20 November, 12
  • 65. Personal Overriding Stylesheet Fat Fingers Syndrome Don’t make me think! (Steve Krug) What does it mean for a11y? 1 finger, no fingers, motor control, dexterity, novice IT users, etc. Tuesday, 20 November, 12
  • 66. Personal Overriding Stylesheet Fat Fingers Syndrome Don’t make me think! (Steve Krug) What does it mean for a11y? 1 finger, no fingers, motor control, dexterity, novice IT users, etc. header[role="banner"] nav a { padding:0.4em 1em 0.5em; } Tuesday, 20 November, 12
  • 70. Embracing Web Standards platform specific hacks  no more custom controls  mouse-only wankery Tuesday, 20 November, 12
  • 71. Embracing Web Standards platform specific hacks  no more custom controls  mouse-only wankery HTML5 & ARIA Tuesday, 20 November, 12
  • 72. 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, 20 November, 12
  • 74. Progressive Enhancement An escalator can never break--it can only become stairs. You would never see an "Escalator Temporarily Out Of Order" sign, just "Escalator Temporarily Stairs”. Sorry for the convenience. We apologize for the fact that you can still get up there." - Mitch Hedberg Tuesday, 20 November, 12
  • 76. Mobile First Tuesday, 20 November, 12
  • 77. Mobile First Tuesday, 20 November, 12
  • 78. Mobile First & Progressive Enhancement Tuesday, 20 November, 12
  • 79. Mobile First & Progressive Enhancement It’s all good news for accessibility! Tuesday, 20 November, 12
  • 80. Mobile First & Progressive Enhancement Tuesday, 20 November, 12
  • 81. Caters to Users' Needs, Devices, Context Tuesday, 20 November, 12
  • 82. RWD & A11Y = ♥ ? Tuesday, 20 November, 12
  • 83. 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, 20 November, 12
  • 84. RWD & A11Y = ♥ ? Tuesday, 20 November, 12
  • 85. RWD & A11Y = ♥ ? “RWD is A11Y in disguise!” - George Zamfir Try it for yourself: goodwally.ca/rawd_kit.zip Tuesday, 20 November, 12
  • 86. RWD & A11Y = ♥ ? “RWD is A11Y in disguise!” - George Zamfir Try it for yourself: goodwally.ca/rawd_kit.zip Tuesday, 20 November, 12
  • 87. Thank you!  @good_wally goodwally.ca 🌎 Tuesday, 20 November, 12
  • 89. Credits, Photos, Sources freevector.com photobucket.com phombo.com ipadwallsdepot.com www.entypo.com      splio.com/responsive flickr.com/photos/merlin/1343376738 lukew.com/ff/entry.asp?1649 Tuesday, 20 November, 12
  • 90. Research & Resources Tuesday, 20 November, 12
  • 91. Research & Resources Responsive Web Design 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 Mobile First & Progressive Enhancement github.com/bradfrost/Mobile-First-RWD lukew.com/resources/mobile_first.asp  lukew.com/presos/preso.asp?26 (preso slides + audio + video) christianheilmann.com/tag/progressive-enhancement/ Tuesday, 20 November, 12

Editor's Notes

  1. 0. Dan Ariely - classical music experiment\n0. Picture of audience, I never have any pictures from these events.\nEverybody say, really quickly, &amp;#x201C;responsive web design&amp;#x201D;\n\nMeetup: monthly, 150 members, come to teach, be taught, share &amp; even build.\n\nI am &amp; we&apos;ll talk about\nHi everyone, my name is George Zamfir and I&apos;m here to talk to you about wally &amp; rwd. Why? Because&amp;#x2026;\n
  2. RWD &amp; A11Y are really good together!\nAs in Wall-e &amp; Eva good. If you&apos;re emotional like I am, you can go &quot;aaaaaaw&quot;.\nI believe RWD is great for accessibility, it&apos;s an enabler;\nMany of the RWD best practices also apply to accessibility.&amp;#xA0;\n
  3. Bit of information &amp; housekeeping\nLast year - guided conversation; 15 - 20 min talk; around the room conversation;\n\n
  4. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  5. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  6. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  7. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  8. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  9. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  10. Day job - work on technical accessibility solutions on websites like these:&amp;#xA0;\nlarge, high-trafficed websites used by millions of people\nSOL - this is an example of a fairly complex, transactional website.&amp;#xA0;\n
  11. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  12. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  13. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  14. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  15. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  16. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  17. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  18. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  19. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  20. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  21. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  22. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  23. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  24. HOWEVER, In my spare time... \nI dance at weddings - SUCCESSFULLY\njump off cliffs - in the wedding tux\nI like my tea out of beer mugs\n
  25. Show of hands:&amp;#xA0;Who has experience with RWD?\n\nWhat is RWD?\nEthan coined it in 2010.\nTechnique - one website - flexible enough to work on all web devices &amp; respond to users&apos; needs &amp; context.\nWell, does this mean that websites just don&apos;t work on some devices / browsers?\nActually, yes. Some Blackberry phones do not support advanced JS. But of course you can fix that with progressive enhancement.\n
  26. Why do we need RWD?\nThere&apos;s an ever-increasing number of devices, browsers and screen sizes.&amp;#xA0;\nRather than creating a separate website for each platform or screen size.\nLet&apos;s take a look at an example.\n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. RWD - Under the hood: fluid foundation, media queries, responsive media\n
  36. RWD - fluid foundation\njust don&apos;t use pixels; there&apos;s a lot that can be said about fluid grids and frameworks\nviewport: &amp;#xA0;scale viewport to actual device width\n
  37. no viewport declaration\n
  38. no viewport declaration\n
  39. no viewport declaration\n
  40. no viewport declaration\n
  41. RWD - media queries\nW3C recommendation\nmedia types&amp;#xA0;used since CSS 2.1 - print, screen\nmedia queries&amp;#xA0;allow you to target the media features as well.\nbreakpoints\n
  42. responsive images\n
  43. How do make fixed-width elements work with fluid layouts?\n
  44. new problem - 2 options\nsmall mobile-optimized image (that looks pixelated on large screens) or retina-ready image that may not even load on mobile devices.\n\n
  45. new problem - 2 options\nsmall mobile-optimized image (that looks pixelated on large screens) or retina-ready image that may not even load on mobile devices.\n\n
  46. new problem - 2 options\nsmall mobile-optimized image (that looks pixelated on large screens) or retina-ready image that may not even load on mobile devices.\n\n
  47. there isn&apos;t one solution to rule them all.\n
  48. rwd - with these 3 components\n
  49. rwd - this will be the web\n
  50. rwd + a11y = *heart*\n
  51. But why is that?\n
  52. Here&apos;s why I think RWD &amp; A11Y are so good for each other\n
  53. Ted Drake - video of Karo - iPad use to make all apps look the same\n\nFluid layouts +&amp;#xA0;Media queries +&amp;#xA0;Responsive images\nThink about it:&amp;#xA0;increasing our text size (&lt;h&gt;, &lt;p&gt;, etc.),&amp;#xA0; we&amp;#x2019;re changing the layout, colours, margins, etc.\nLess about the design, more about the content.\n\n
  54. No device-specific breakpoints rwd;\nThat&apos;s a win for us! These guys are advocating both substance &amp; form.\n
  55. No device-specific breakpoints rwd;\nThat&apos;s a win for us! These guys are advocating both substance &amp; form.\n
  56. No device-specific breakpoints rwd;\nThat&apos;s a win for us! These guys are advocating both substance &amp; form.\n
  57. No device-specific breakpoints rwd;\nThat&apos;s a win for us! These guys are advocating both substance &amp; form.\n
  58. No device-specific breakpoints rwd;\nThat&apos;s a win for us! These guys are advocating both substance &amp; form.\n
  59. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  60. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  61. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  62. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  63. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  64. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  65. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  66. Content accessibility\nFurther more, boston globe - smart loading - no&amp;#xA0;ads on small screens (even for large screens it loads the ads last)\n
  67. Reduced cognitive load\nThey&apos;re talking about line spacing, proper kerning, readable &amp; dyslexia typefaces, etc.&amp;#xA0;\nResponsive typography\nMicrosoft built new icon fonts.\n
  68. They&apos;re going beyond WCAG 2\n
  69. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  70. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  71. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  72. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  73. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  74. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  75. &quot;Fat fingers syndrome&quot;\nRWD is advocating large focusable elements.\n
  76. LukeW is looking at touch ergonomics.\nDraws conclusions on navigation placement.\n
  77. LukeW is looking at touch ergonomics.\nDraws conclusions on navigation placement.\n
  78. here&apos;s what RWD doesn&amp;#x2019;t advocate:\nno platform specific hacks: you can still do them but just know, it may not work on blackberrys\nno custom controls: because the native ones are just better; which means more accessible to us.\nno mouse-only wankery: there is no hover intent on touch devices, which means that we&apos;re back to keyboard accessibility; awesome!\n--- DOES ALL THIS SOUND FAMILIAR?\nHTML5 + ARIA:&amp;#xA0;thanks to Apple &amp; VoiceOver more developer are aware of accessibility; it&apos;s good (awareness) &amp; bad (screen readers != accessibility)\n
  79. Mobile First + Progressive enhancement\n
  80. Progressive enhancement: HTML+CSS+JS+ARIA, &lt;button&gt; example\n
  81. Progressive enhancement: HTML+CSS+JS+ARIA, &lt;button&gt; example\n
  82. Progressive enhancement: HTML+CSS+JS+ARIA, &lt;button&gt; example\n
  83. Mobile first:&amp;#xA0;advocates building a website for the smallest screen first.\n
  84. Mobile first:&amp;#xA0;advocates building a website for the smallest screen first.\n
  85. Mobile first:&amp;#xA0;advocates building a website for the smallest screen first.\n
  86. Mobile first:&amp;#xA0;advocates building a website for the smallest screen first.\n
  87. Mobile first:&amp;#xA0;advocates building a website for the smallest screen first.\n
  88. Mobile First + Progressive enhancement = awesomeness\n
  89. Mobile First + Progressive enhancement = awesomeness\n
  90. Mobile First + Progressive enhancement = awesomeness\n
  91. Caters to Users&apos; Needs, Devices, Context\nThis is a pretty common scenario of an user walking &amp; browsing kinda thing using one hand / thumb and &quot;one eyeball&quot;.\nBasically you have the user&apos;s divided attention &amp; top RWD people say that we should design for that.\nThis is great for us because, a11y folks, because as we know some people do have one eye, thumb, etc.\nAgain RWD is a great advocate for a11y.\n
  92. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n
  93. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n
  94. \n
  95. \n
  96. \n
  97. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n
  98. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n
  99. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n
  100. RWD &amp; A11Y = &amp;#x2665;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; ?\nIn this industry of ours we always say that new technologies are great but accessibility is always one step behind. Flash, HTML5 canvas, etc.\nIn many ways RWD is a champion for accessibility and I think it will stay that way going forward.\nNot a fad, but a very solid framework for us to do better web design &amp; development.\n