There’s so much great stuff written about web standards available for free on the web that it’s easy to forget how much bad stuff is also out there; and how many people are willing to support it just because it’s easier than putting in a little extra effort to follow best practice.
Over the weekend one of the most popular stories on Delicious.com was teaching the use of lazy CSS hacks, the type of which I thought everybody was convinced enough to do away with; the star and underscore hacks for targeting IE6 & IE7, the hacks which we’ve been saying (for years) shouldn’t be used anymore.
Disregarding the ‘rights’ and ‘wrongs’, and the validation argument – some of my stylesheets don’t validate, and there are good reasons for that – I’d like to give a few other reasons why using this method is not a good idea.
As Firefox 3.5 brings open video to the web, the W3C decide to drop codec requirements from the HTML 5 spec, citing disagreement between browser makers and concern over patents. Luckily, there’s a way to make video for everybody, which means encoding each clip only twice.
With (standards-compliant) browser innovation firmly back on the agenda, there’s a lot of exciting new technology to get to grips with. This week, Google have thrown their weight firmly behind HTML5, while a new start-up aims to bring web fonts to all.
WAI-ARIA is a relatively new standard from the W3C, which provides semantic information to assisted screen reading technology. It’s fairly rapidly being adopted by browser makers and should become a part of your mark-up toolkit.
As well as being good for accessibility, it’s also useful to provide hooks for CSS and Javascript. Here are a just a couple of quick ways to get started using it.
Microsoft announced the launch of Internet Explorer 8 yesterday; I urge everyone to download it as soon as possible, and to encourage their friends to do likewise – especially if their friends are using IE6. It’s great that we have another standards-compliant browser on the market, and I hope that adoption is swift.
What I would really like to see from Microsoft now is a series of iterative releases introducing new standards; rather than waiting three years for IE9, I would much rather wait one year for IE8.1. General manager, Dean Hachamovitch, has stated that there is a commitment on their side as long as test suites exist, so I call on all browser makers and standards bodies to work together to achieve that.
The recent release of the Safari 4 Beta saw a new standards proposal from the Webkit team, for controlling animation using CSS. While there’s still a debate to be had about whether CSS is the right language for this (I still fall on the side that it doesn’t, strictly), I do think their implementation is well handled. I wanted to try it out, so I went back to the earliest form of digital entertainment: Pong!