AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
Responsive Web Design
1. “Now more than ever, we’re designing work meant to
be viewed along a gradient of different experiences.
Responsive web design offers us a way forward...”
Ethan Marcotte
alistapart.com
9. CSS 2.1
Media Type + Media Features = Media Query
screen
print
braille
handheld
projection
tty
tv
embossed
speech
10. CSS 2.1 CSS 3
Media Type + Media Features = Media Query
screen width
print height
braille resolution
handheld device-width
projection device-height
tty orientation
tv aspect-ratio
embossed device-aspect-ratio
speech color
color-index
monochrome
scan
grid
16. respond.js css3-mediaqueries-js
Polyfills github.com/scottjehl/Respond
code.google.com/p/css3-
mediaqueries-js/
feature support width, height only full
speed fast slow
17. Tips
Design mobile first, then add media queries for larger displays
Use ems for width features to incorporate browser font size
Add 100% max-width on images to scale down images to
container
Use with a grid system
Include the viewport tag to fit screen on mobile
<meta name="viewport" content="width=device-width, initial-scale=1">
18. Responsive Web Design
EXAMPLES
alistapart.com/articles/responsive-web-design
anderssonwise.com
Responsive Web Design (book) smashingmagazine.com
abookapart.com/products/responsive-web-design foodsense.is
clearairchallenge.com
W3C CSS3 Media Queries Spec bostonglobe.com
w3.org/TR/css3-mediaqueries github.nearinfinity.com
Responsive Design Tools
netmagazine.com/features/
50-fantastic-tools-responsive-web-design jason harwig
@jharwig
19. Separate Mobile Site?
“Our mobile users only need subset of
functionality”
How do you know what mobile users
will want to do with your app?
Notes de l'éditeur
I&#x2019;d like to talk about responsive web design.\n- mention article\n- How can we optimize web experience for the device, instead of the reverse.\n\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
device is adjusting the content (scaling down) lots of zooming\n
not just fluid width\n
\n
conditional css type/features of user agent\nMedia types is link\n- how to use it? best docs are w3c\n
conditional css type/features of user agent\nMedia types is link\n- how to use it? best docs are w3c\n
conditional css type/features of user agent\nMedia types is link\n- how to use it? best docs are w3c\n
conditional css type/features of user agent\nMedia types is link\n- how to use it? best docs are w3c\n
Now that you know the syntax\n
\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n
Making History, first time ever presenting a feature IE supports!\n