This is an introductory talk we delivered at Universidad Europea de Madrid for the International Week of Technological Innovation. We introduce concepts such as accessibility and performance in modern web development, current browser market state and evolution, and some approaches to introduce CSS3.
19. Accessibility
WAI-ARIA: Accessible Rich Internet Applications Suite
http://www.w3.org/WAI/intro/aria
20. Size of the accessible market?
45 million blind people worldwide
314 million people with significant vision loss
87% in developing countries
http://www.who.int/mediacentre/factsheets/fs282/en/
21. 5 Million blind people
As much as the total population of Madrid
22. 40 million vision loss
31th country in the world
(bigger than Argentina, Canada,
Greece or Australia)
http://en.wikipedia.org/wiki/List_of_countries_by_population
32. Performance
.1 to 1 sec: no feedback necessary
1 to 10 sec: add some feedback (spinners)
> 10 sec: the user is no longer here
http://www.useit.com/papers/responsetime.html
33. Impact on revenue
Google: +500 ms → -20% traffic
Yahoo: +400 ms → -5-9% full-page traffic
Amazon: +100 ms → -1% sales
Firefox: +2 seg → -15% downloads
Evaluation performed on the front page.
http://stevesouders.com/docs/wordcamp-20090530.ppt
http://blog.mozilla.com/metrics/2010/04/05/firefox-page-load-speed-–-part-ii/
34. Still not convinced?
Starting 2010, Google has added performance
to the PageRank algorithm
http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html
35. Improve performance
By following 14 rules
http://stevesouders.com/hpws/rules.php
44. New pseudo-classes
:first-child (all but IE6)
:last-child (all but IE)
:nth-child(odd|even) (all but IE)
...maybe you see a pattern here...
http://www.quirksmode.org/css/contents.html
55. Pay attention to your audience
Stats for jquery.com
(29/3/2009)
http://royal.pingdom.com/2010/04/16/does-internet-explorer-have-more-than-a-billion-users/
http://ejohn.org/blog/determining-browser-market-share/
56. IE6 on the way out
37signals, youtube, google apps, apple
59. IE-specific selectors
/* IE 6 and below */
* html #uno { color: red }
#once { _color:blue }
/* IE 7 and below */
*:first-child+html #dos { color: red }
#doce { *color: blue } /* or #color:blue */
/* IE 7 and above */
html >body #tres { color: red }
/* IE 8 and above */
html >/**/body #cuatro { color: red }
http://ajaxian.com/archives/css-browser-hacks
60. IE7.js
by Dean Edwards
ie7.js, ie8.js, ie9.js
http://code.google.com/p/ie7-js/
61. HTML5
<canvas>
<svg>
<video>, <audio>
GeoLocation API
Offline applications
Client-side storage
Web workers
...etc...
62. Flash
Poor SEO
Not open
Not supported on iPad
Open alternatives (HTML5, CSS3, SVG, Canvas)
63. Things are changing
Youtube supports <video>
Google Maps 3 uses Geolocation API
Google Gears stalled waiting for HTML 5
http://www.flickr.com/photos/cooldesignz/1794226846/