SlideShare une entreprise Scribd logo
1
RESPONSIVE WEB DESIGN
FOR UNIVERSAL ACCESS
Images: Mashable.com, https://www.yonomi.co/blog/hey-alexa-meet-yonomi/
Kate Walser
CX Insights
kwalser@cxinsights.com • @kwalser
2
CHALLENGE:
“WE WANT A MOBILE WEBSITE”
3
EARLY MOBILE STRATEGY
TWO SITES – WWW.FACEBOOK.COM, M.FACEBOOK.COM
› Two sites –
– Server checks browser / device
– Present that site
m.facebook.com
Don Smith
4
RESPONSIVE
ONE SITE, MULTIPLE VIEWS
Photo credit: http://sixrevisions.com/mobile/methods-mobile-websites/
5
ADDITIONAL MOTIVATION
WCAG 2.1: SUCCESS CRITERION 1.4.10
REFLOW (LEVEL AA)
› Web Content Accessibility Guideline (WCAG) 2.1’s success
criterion 1.4.1 on Reflow requires that content, when it’s
resized, can still be understood without loss of context or
information. Think one column, as an example.
https://www.w3.org/WAI/WCAG21/Understanding/reflow.html
6
CHROME’S AUDIT TOOLS INCLUDE MOBILE AND
SEARCH ENGINE OPTIMIZATION (SEO) CHECKS…
7
ADDITIONAL MOTIVATION
MOBILE-READY AND RESPONSIVE SITES
RANK BETTER IN GOOGLE
Google Mobile-friendly Test: https://search.google.com/test/mobile-friendly
8
SPEAKER – KATE WALSER
› Usability & accessibility specialist
› Member of TEITAC, or Section 508 / Section
255 refresh committee
› Principal consultant at CX Insights, the user
experience division of Tritus Technologies,
Inc.
› Originally from upstate NY, now call Fairfax,
VA (near DC) home
9
WHAT IS RESPONSIVE DESIGN?
10
Elements have a set width, like 600 pixels wide, and don’t adjust for
device size, so content is either cut off or really small and hard to
read. Images do not resize either.
FLUID, BUT NOT RESPONSIVE
11
AT A GLIMPSE
Phone, kindle, tablet, desktop
views of Mashable.com
Screenshots of Mashable.com
12
GOALS
In responsive web design, we use the same content and adjust it to best fit
the content and features for that device. Think of pruning a bush – when
done well, after trimming back the “overgrown” areas, the bush still
resembles the original bush, but is cleaner and more beautiful.
13
HTTPS://WWW.TEXAS.GOV/
FULL SIZE (DESKTOP)
14
HTTPS://WWW.TEXAS.GOV/
LANDSCAPE – TABLET (IPAD, SAMSUNG GALAXY TAB)
15HTTPS://WWW.TEXAS.GOV/
SMART PHONE (GALAXY III, IPHONE, ANDROID)
16
DEMO
17
HOW DOES IT WORK?
18
3 ELEMENTS
1. Fluid grid and adjustable widths
e.g., column width = 45%, 25ems, or 6 columns wide
2. Media queries (check device / browser width)
e.g., if the device width (or the max-width of the viewable area) is 480px or
30em wide, then show this and move that
3. Scalable images
e.g., image is 24em x 12em (vs. 248px x 124px) for desktop, and 12em x
6em for mobile
19
Wireframes show web page elements and how
they look, where they go on different devices
“Media Queries,” by Juan Arregin
Source: http://dribbble.com/shots/185755-Media-Queries
STACK, HIDE, OR CHANGE SIZE OF ITEMS
“Media Queries,” by Juan Arregin
Source: http://dribbble.com/shots/185755-Media-Querie
20
ADJUST VIA CASCADING STYLE SHEET (CSS) RULES
/* Mobile */
#welcome {width: 100%;}
.buttons {padding:0.25em;margin:5px;}
.decoration {display:none;}
@media only screen and (min-width: 48em) {
/* Desktop and landscape tablet – 768px wide and up*/
#welcome {width: 62.5%;}
.buttons {padding:0.25em 0.5em;margin:10px;}
.decoration {display:inline;width:1.5em;height:1em;}
}
21
LOOKING AT THE CODE
https://www.austintexas.gov
22
22
RESPONSIVE FOR FUN EFFECTS
https://teatrlalka.pl/en
23
RESPONSIVE AND IMPROVED ACCESS
24
CHALLENGE 1
HARD-TO-CLICK LINKS
25
ADJUST CSS TO MAKE LARGER “TOUCH” TARGETS
26
CHALLENGE 2
HOVER ELEMENTS AREN’T REACHABLE ON MOBILE
Elements that are only available on hover can’t be accessed by
mobile users. They also can’t be accessed by users who use
the keyboard (in combination with a screen reader) or
discoverable by users with speech recognition.
27
Once event listeners are added to
make the items reachable on
mobile devices, it also resolves
the issue of making them
reachable via keyboard.
ADD TAB STOPS AND MAKE ELEMENTS REACHABLE BY
KEYBOARD OR TAP
28
Multiple navigation elements precede the content on the
USA.gov website
CHALLENGE 3
MANY TAB STOPS BEFORE CONTENT
USA.gov
Desktop version
29
Since the USA.gov uses a responsive design, at narrower widths, the submenus
are hidden, making it easier for users to tab to main section options and content.
COLLAPSED NAVIGATION CAN HELP USERS REACH
CONTENT MORE QUICKLY
30
CHALLENGE 4
IMAGES THAT DEGRADE ON ZOOM
Images designed at one resolution degrade as users, especially those with screen magnifiers, increase
their screen magnification.
Images: http://coding.smashingmagazine.com/2012/01/16/resolution-independence-with-svg/
31
USE RESPONSIVE, SCALABLE SVG IMAGES
Scalable vector graphics used for responsive web designs also improve screen usage
for those with visual impairments.
32
CHALLENGE 5
HIDDEN, HELPER CONTENT
When a user hovers over the items on this chart, they can see a tooltip with information about the category. The tooltips were made
keyboard accessible so a user could tab thru them, but it wasn’t obvious to mobile users that more information existed. There was also an
alternative chart description hidden offscreen for screen reader users.
33
INCLUDE A CUE ONSCREEN FOR ALL USERS
By including a visual cue onscreen that alternative descriptions were available, it helped
give access to mobile users and also made things more accessible for those who use speech
recognition or screen readers that don’t pick up offscreen text, like ZoomText.
34
CHALLENGE 6
BEING SIRI & ALEXA & SEO-FRIENDLY
Images: http://www.thefigjamchronicles.com/blog-of-awesomeness/new-siri-features-in-ios-7-you-may-have-missed,
https://www.yonomi.co/blog/hey-alexa-meet-yonomi/
In prepping their sites to work well with Siri, Cortana, Amazon Echo and other
virtual assistants, organizations can use snippets and be more thoughtful about
keyword placement throughout the site.
35
- JAWS heading and link lists give users a way to
quickly jump to headings and links with keywords
that match what they want. Vague and ambiguous
headings and links (e.g., “Click here” and others)
make it hard for users with assistive tools to navigate
and will make it hard for users of virtual assistants
also.
INCLUDE KEYWORDS IN HEADINGS AND LINKS FOR
EASIER NAVIGATION
36
PLANNING A RESPONSIVE DESIGN
37
1. CONSIDER USERS, CONTEXTS, GOALS
38
2. DEFINE TOP TASKS PER CONTEXT
39
3. PRIORITIZE FEATURES & CONTENT
40
4. THINK “MOBILE FIRST”, CHOOSE BREAKPOINTS
*START SMALL AND INCREASE WIDTH UNTIL CONTENT STARTS TO LOOK SUBOPTIMAL.
Google Analytics reports include Mobile reports. Check the Devices section, and drill down by screen resolution or browser as a secondary
dimension to see what users are using to visit your site.
41
Quick sketches can be enough to create the responsive design.
5. DECIDE IF / HOW LAYOUT CHANGES
42
6. DESCRIBE BEHAVIOR AND STYLE RULES AND TRANSLATE
TO CSS RULES
MIN-WIDTH WHAT IT MEANS BEHAVIOR / STYLE RULES
Less than 50em At widths less than 50em (e.g., 50em x
~12px/em = 600px), article and aside /
sidebar should each span the full width.
article {}
aside {}
50em Once the width reaches 50ems (~600px),
then resize the article so it’s occupies
about 2/3 of the container width, and
position it on the left, with the aside /
sidebar on the right.
article {
float: left;
width: 66.3333%;
}
aside {
float: left;
width: 66.3333%;
}
43
7. CONSIDER INTERACTIONS, WIDE ITEMS
ESPECIALLY TABLES, DIALOGS, DROP-DOWN MENUS, POP-UP HELP
44
8. ADJUST PADDING, POSITIONING FOR HARD TO
REACH / TOUCH ITEMS
https://www.fairfaxcounty.gov/library/
45
UPDATED SITE
Fairfax County Website, https://www.fairfaxcounty.gov
46
9. VALIDATE CODE, BANISH JAVASCRIPT
ERRORS & TEST NATIVELY ON IOS
47
TOOLS & RESOURCES
48
Google Chrome Browser, Developer Tools – View > Developer > Developer Tools
Firefox Developer Tools – Tools > Web Developer > Responsive Design View
BROWSER DEVELOPER TOOLS
Google Chrome Firefox
49
https://bradfrost.github.io/this-is-responsive/patterns.html
https://bradfrost.github.io/this-is-responsive/resources.html#viewport-testing
RESPONSIVE PATTERNS
50
HTTPS://LAB.MALTEWASSERMANN.COM/VIEWPORT-RESIZER/
51
SUMMARY
Combine media queries, scalable images, adjustable widths
Identify the main goals, contexts, and reasons users will visit
your site and build up from those (mobile first)
Design accordingly
52
CONTACT
KATE WALSER
KWALSER@CXINSIGHTS.COM • @KWALSER
ADDITIONAL RESOURCES
› “Responsive Web Design,” by Ethan Marcotte
Article: http://alistapart.com/article/responsive-web-design
Book: http://www.abookapart.com/products/responsive-web-design
› “Logical Breakpoints for Your Responsive Design,” by Vasilis van Gemert
http://www.smashingmagazine.com/2013/03/01/logical-breakpoints-responsive-design/
› ResponsiveDesign.is

Contenu connexe

Similaire à Responsive Web Design for Universal Access: 2019

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Justin Avery
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
Nusrat Khanom
 
Responsive Web design _2013
Responsive Web design _2013 Responsive Web design _2013
Responsive Web design _2013
Suresh B
 
responsive web design
responsive web designresponsive web design
responsive web design
Suresh B
 
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
gravityworksdd
 

Similaire à Responsive Web Design for Universal Access: 2019 (20)

Building Responsive Websites with Drupal
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with Drupal
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive & Responsible Web Design in DNN
Responsive & Responsible Web Design in DNNResponsive & Responsible Web Design in DNN
Responsive & Responsible Web Design in DNN
 
Responsive web designing course in Chandigarh
Responsive web designing course in Chandigarh Responsive web designing course in Chandigarh
Responsive web designing course in Chandigarh
 
Building Mobile Websites
Building Mobile WebsitesBuilding Mobile Websites
Building Mobile Websites
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Advancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web Design
 
Fewd week7 slides
Fewd week7 slidesFewd week7 slides
Fewd week7 slides
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Digibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David WalkerDigibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David Walker
 
Responsive Web design _2013
Responsive Web design _2013 Responsive Web design _2013
Responsive Web design _2013
 
responsive web design 1_oct_2013
responsive web design  1_oct_2013 responsive web design  1_oct_2013
responsive web design 1_oct_2013
 
Rwd ppt
Rwd pptRwd ppt
Rwd ppt
 
responsive web design
responsive web designresponsive web design
responsive web design
 
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
Responsive Web Design: From Mobile To Desktop, And Beyond (updated for MobiDe...
 

Plus de Kate Walser

Usability Testing for Usable Accessibility
Usability Testing for Usable AccessibilityUsability Testing for Usable Accessibility
Usability Testing for Usable Accessibility
Kate Walser
 

Plus de Kate Walser (16)

Surviving Dev Frameworks 2019
Surviving Dev Frameworks 2019Surviving Dev Frameworks 2019
Surviving Dev Frameworks 2019
 
AccessU 2018 - Surviving Dev Frameworks: Lessons Learned with WordPress, Drup...
AccessU 2018 - Surviving Dev Frameworks: Lessons Learned with WordPress, Drup...AccessU 2018 - Surviving Dev Frameworks: Lessons Learned with WordPress, Drup...
AccessU 2018 - Surviving Dev Frameworks: Lessons Learned with WordPress, Drup...
 
AccessU 2018 - Introduction to User Research
AccessU 2018 - Introduction to User ResearchAccessU 2018 - Introduction to User Research
AccessU 2018 - Introduction to User Research
 
An Accessibility Update: Changes to Section 508
An Accessibility Update: Changes to Section 508An Accessibility Update: Changes to Section 508
An Accessibility Update: Changes to Section 508
 
Usability Testing with People with Disabilities (2017)
Usability Testing with People with Disabilities (2017)Usability Testing with People with Disabilities (2017)
Usability Testing with People with Disabilities (2017)
 
Lessons Learned: Coding Accessible Apps with Frameworks 2017
Lessons Learned: Coding Accessible Apps with Frameworks 2017Lessons Learned: Coding Accessible Apps with Frameworks 2017
Lessons Learned: Coding Accessible Apps with Frameworks 2017
 
Usability Testing with People with Disabilities
Usability Testing with People with DisabilitiesUsability Testing with People with Disabilities
Usability Testing with People with Disabilities
 
Lessons Learned in Coding Accessible Apps with Frameworks
Lessons Learned in Coding Accessible Apps with FrameworksLessons Learned in Coding Accessible Apps with Frameworks
Lessons Learned in Coding Accessible Apps with Frameworks
 
Fonts new
Fonts newFonts new
Fonts new
 
Usability Testing for Usable Accessibility
Usability Testing for Usable AccessibilityUsability Testing for Usable Accessibility
Usability Testing for Usable Accessibility
 
Engaging Users with Social Media
Engaging Users with Social MediaEngaging Users with Social Media
Engaging Users with Social Media
 
Quick Check Usability Testing - UPA 2012
Quick Check Usability Testing - UPA 2012Quick Check Usability Testing - UPA 2012
Quick Check Usability Testing - UPA 2012
 
The UX of Gov 2.0
The UX of Gov 2.0The UX of Gov 2.0
The UX of Gov 2.0
 
On target three-ways-to-keep-audience-in-focus_ivmg
On target three-ways-to-keep-audience-in-focus_ivmgOn target three-ways-to-keep-audience-in-focus_ivmg
On target three-ways-to-keep-audience-in-focus_ivmg
 
User focus ux_of_ri_as
User focus ux_of_ri_asUser focus ux_of_ri_as
User focus ux_of_ri_as
 
Designing Gov 2.0 That's Inclusive
Designing Gov 2.0 That's InclusiveDesigning Gov 2.0 That's Inclusive
Designing Gov 2.0 That's Inclusive
 

Dernier

Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & Application
Jaime Brown
 
一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理
cyebo
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
JIT KUMAR GUPTA
 
Research about Venice ppt for grade 6f anas
Research about Venice ppt for grade 6f anasResearch about Venice ppt for grade 6f anas
Research about Venice ppt for grade 6f anas
anasabutalha2013
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
cyebo
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
AlecAnidul
 
Second Order Systems Qhhhhhhhhuestions.pptx
Second Order Systems Qhhhhhhhhuestions.pptxSecond Order Systems Qhhhhhhhhuestions.pptx
Second Order Systems Qhhhhhhhhuestions.pptx
joshuaclack73
 

Dernier (20)

Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & Application
 
Claire's designing portfolio presentation
Claire's designing portfolio presentationClaire's designing portfolio presentation
Claire's designing portfolio presentation
 
一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理
 
Redefining Globalization, urbanisation and Localisation
Redefining Globalization, urbanisation and LocalisationRedefining Globalization, urbanisation and Localisation
Redefining Globalization, urbanisation and Localisation
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
 
Research about Venice ppt for grade 6f anas
Research about Venice ppt for grade 6f anasResearch about Venice ppt for grade 6f anas
Research about Venice ppt for grade 6f anas
 
The Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxThe Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptx
 
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
 
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfSpring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
 
Extended Reality(XR) Development in immersive design
Extended Reality(XR) Development in immersive designExtended Reality(XR) Development in immersive design
Extended Reality(XR) Development in immersive design
 
Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
 
Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.
 
Second Order Systems Qhhhhhhhhuestions.pptx
Second Order Systems Qhhhhhhhhuestions.pptxSecond Order Systems Qhhhhhhhhuestions.pptx
Second Order Systems Qhhhhhhhhuestions.pptx
 
FW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers ParisFW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers Paris
 
Heidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD PortfolioHeidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD Portfolio
 
Common Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid themCommon Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid them
 
Eric Parein CV. Parein in English is best pronounced as PARE-IN
Eric Parein CV. Parein in English is best pronounced as PARE-INEric Parein CV. Parein in English is best pronounced as PARE-IN
Eric Parein CV. Parein in English is best pronounced as PARE-IN
 
bobbi goods amelie y ximena # Bobbie gods forever
bobbi goods amelie y ximena # Bobbie gods foreverbobbi goods amelie y ximena # Bobbie gods forever
bobbi goods amelie y ximena # Bobbie gods forever
 

Responsive Web Design for Universal Access: 2019

  • 1. 1 RESPONSIVE WEB DESIGN FOR UNIVERSAL ACCESS Images: Mashable.com, https://www.yonomi.co/blog/hey-alexa-meet-yonomi/ Kate Walser CX Insights kwalser@cxinsights.com • @kwalser
  • 2. 2 CHALLENGE: “WE WANT A MOBILE WEBSITE”
  • 3. 3 EARLY MOBILE STRATEGY TWO SITES – WWW.FACEBOOK.COM, M.FACEBOOK.COM › Two sites – – Server checks browser / device – Present that site m.facebook.com Don Smith
  • 4. 4 RESPONSIVE ONE SITE, MULTIPLE VIEWS Photo credit: http://sixrevisions.com/mobile/methods-mobile-websites/
  • 5. 5 ADDITIONAL MOTIVATION WCAG 2.1: SUCCESS CRITERION 1.4.10 REFLOW (LEVEL AA) › Web Content Accessibility Guideline (WCAG) 2.1’s success criterion 1.4.1 on Reflow requires that content, when it’s resized, can still be understood without loss of context or information. Think one column, as an example. https://www.w3.org/WAI/WCAG21/Understanding/reflow.html
  • 6. 6 CHROME’S AUDIT TOOLS INCLUDE MOBILE AND SEARCH ENGINE OPTIMIZATION (SEO) CHECKS…
  • 7. 7 ADDITIONAL MOTIVATION MOBILE-READY AND RESPONSIVE SITES RANK BETTER IN GOOGLE Google Mobile-friendly Test: https://search.google.com/test/mobile-friendly
  • 8. 8 SPEAKER – KATE WALSER › Usability & accessibility specialist › Member of TEITAC, or Section 508 / Section 255 refresh committee › Principal consultant at CX Insights, the user experience division of Tritus Technologies, Inc. › Originally from upstate NY, now call Fairfax, VA (near DC) home
  • 10. 10 Elements have a set width, like 600 pixels wide, and don’t adjust for device size, so content is either cut off or really small and hard to read. Images do not resize either. FLUID, BUT NOT RESPONSIVE
  • 11. 11 AT A GLIMPSE Phone, kindle, tablet, desktop views of Mashable.com Screenshots of Mashable.com
  • 12. 12 GOALS In responsive web design, we use the same content and adjust it to best fit the content and features for that device. Think of pruning a bush – when done well, after trimming back the “overgrown” areas, the bush still resembles the original bush, but is cleaner and more beautiful.
  • 17. 17 HOW DOES IT WORK?
  • 18. 18 3 ELEMENTS 1. Fluid grid and adjustable widths e.g., column width = 45%, 25ems, or 6 columns wide 2. Media queries (check device / browser width) e.g., if the device width (or the max-width of the viewable area) is 480px or 30em wide, then show this and move that 3. Scalable images e.g., image is 24em x 12em (vs. 248px x 124px) for desktop, and 12em x 6em for mobile
  • 19. 19 Wireframes show web page elements and how they look, where they go on different devices “Media Queries,” by Juan Arregin Source: http://dribbble.com/shots/185755-Media-Queries STACK, HIDE, OR CHANGE SIZE OF ITEMS “Media Queries,” by Juan Arregin Source: http://dribbble.com/shots/185755-Media-Querie
  • 20. 20 ADJUST VIA CASCADING STYLE SHEET (CSS) RULES /* Mobile */ #welcome {width: 100%;} .buttons {padding:0.25em;margin:5px;} .decoration {display:none;} @media only screen and (min-width: 48em) { /* Desktop and landscape tablet – 768px wide and up*/ #welcome {width: 62.5%;} .buttons {padding:0.25em 0.5em;margin:10px;} .decoration {display:inline;width:1.5em;height:1em;} }
  • 21. 21 LOOKING AT THE CODE https://www.austintexas.gov
  • 22. 22 22 RESPONSIVE FOR FUN EFFECTS https://teatrlalka.pl/en
  • 25. 25 ADJUST CSS TO MAKE LARGER “TOUCH” TARGETS
  • 26. 26 CHALLENGE 2 HOVER ELEMENTS AREN’T REACHABLE ON MOBILE Elements that are only available on hover can’t be accessed by mobile users. They also can’t be accessed by users who use the keyboard (in combination with a screen reader) or discoverable by users with speech recognition.
  • 27. 27 Once event listeners are added to make the items reachable on mobile devices, it also resolves the issue of making them reachable via keyboard. ADD TAB STOPS AND MAKE ELEMENTS REACHABLE BY KEYBOARD OR TAP
  • 28. 28 Multiple navigation elements precede the content on the USA.gov website CHALLENGE 3 MANY TAB STOPS BEFORE CONTENT USA.gov Desktop version
  • 29. 29 Since the USA.gov uses a responsive design, at narrower widths, the submenus are hidden, making it easier for users to tab to main section options and content. COLLAPSED NAVIGATION CAN HELP USERS REACH CONTENT MORE QUICKLY
  • 30. 30 CHALLENGE 4 IMAGES THAT DEGRADE ON ZOOM Images designed at one resolution degrade as users, especially those with screen magnifiers, increase their screen magnification. Images: http://coding.smashingmagazine.com/2012/01/16/resolution-independence-with-svg/
  • 31. 31 USE RESPONSIVE, SCALABLE SVG IMAGES Scalable vector graphics used for responsive web designs also improve screen usage for those with visual impairments.
  • 32. 32 CHALLENGE 5 HIDDEN, HELPER CONTENT When a user hovers over the items on this chart, they can see a tooltip with information about the category. The tooltips were made keyboard accessible so a user could tab thru them, but it wasn’t obvious to mobile users that more information existed. There was also an alternative chart description hidden offscreen for screen reader users.
  • 33. 33 INCLUDE A CUE ONSCREEN FOR ALL USERS By including a visual cue onscreen that alternative descriptions were available, it helped give access to mobile users and also made things more accessible for those who use speech recognition or screen readers that don’t pick up offscreen text, like ZoomText.
  • 34. 34 CHALLENGE 6 BEING SIRI & ALEXA & SEO-FRIENDLY Images: http://www.thefigjamchronicles.com/blog-of-awesomeness/new-siri-features-in-ios-7-you-may-have-missed, https://www.yonomi.co/blog/hey-alexa-meet-yonomi/ In prepping their sites to work well with Siri, Cortana, Amazon Echo and other virtual assistants, organizations can use snippets and be more thoughtful about keyword placement throughout the site.
  • 35. 35 - JAWS heading and link lists give users a way to quickly jump to headings and links with keywords that match what they want. Vague and ambiguous headings and links (e.g., “Click here” and others) make it hard for users with assistive tools to navigate and will make it hard for users of virtual assistants also. INCLUDE KEYWORDS IN HEADINGS AND LINKS FOR EASIER NAVIGATION
  • 37. 37 1. CONSIDER USERS, CONTEXTS, GOALS
  • 38. 38 2. DEFINE TOP TASKS PER CONTEXT
  • 40. 40 4. THINK “MOBILE FIRST”, CHOOSE BREAKPOINTS *START SMALL AND INCREASE WIDTH UNTIL CONTENT STARTS TO LOOK SUBOPTIMAL. Google Analytics reports include Mobile reports. Check the Devices section, and drill down by screen resolution or browser as a secondary dimension to see what users are using to visit your site.
  • 41. 41 Quick sketches can be enough to create the responsive design. 5. DECIDE IF / HOW LAYOUT CHANGES
  • 42. 42 6. DESCRIBE BEHAVIOR AND STYLE RULES AND TRANSLATE TO CSS RULES MIN-WIDTH WHAT IT MEANS BEHAVIOR / STYLE RULES Less than 50em At widths less than 50em (e.g., 50em x ~12px/em = 600px), article and aside / sidebar should each span the full width. article {} aside {} 50em Once the width reaches 50ems (~600px), then resize the article so it’s occupies about 2/3 of the container width, and position it on the left, with the aside / sidebar on the right. article { float: left; width: 66.3333%; } aside { float: left; width: 66.3333%; }
  • 43. 43 7. CONSIDER INTERACTIONS, WIDE ITEMS ESPECIALLY TABLES, DIALOGS, DROP-DOWN MENUS, POP-UP HELP
  • 44. 44 8. ADJUST PADDING, POSITIONING FOR HARD TO REACH / TOUCH ITEMS https://www.fairfaxcounty.gov/library/
  • 45. 45 UPDATED SITE Fairfax County Website, https://www.fairfaxcounty.gov
  • 46. 46 9. VALIDATE CODE, BANISH JAVASCRIPT ERRORS & TEST NATIVELY ON IOS
  • 48. 48 Google Chrome Browser, Developer Tools – View > Developer > Developer Tools Firefox Developer Tools – Tools > Web Developer > Responsive Design View BROWSER DEVELOPER TOOLS Google Chrome Firefox
  • 51. 51 SUMMARY Combine media queries, scalable images, adjustable widths Identify the main goals, contexts, and reasons users will visit your site and build up from those (mobile first) Design accordingly
  • 52. 52 CONTACT KATE WALSER KWALSER@CXINSIGHTS.COM • @KWALSER ADDITIONAL RESOURCES › “Responsive Web Design,” by Ethan Marcotte Article: http://alistapart.com/article/responsive-web-design Book: http://www.abookapart.com/products/responsive-web-design › “Logical Breakpoints for Your Responsive Design,” by Vasilis van Gemert http://www.smashingmagazine.com/2013/03/01/logical-breakpoints-responsive-design/ › ResponsiveDesign.is

Notes de l'éditeur

  1. Louisiana.gov
  2. Knowbility.org
  3. What’s the heart, core of your product? If hidden, which elements would be missed by users? Which items are just for visual appeal? Which things are harder to use?
  4. How do users reach your site? What features and content do they use most?
  5. Wireframes Even Google Chrome developer toolbar