Web Standards in Action
June 12, 2003 |
19 Comments
Yesterday I launched a redesigned Web site for the Washington State Drowning Prevention Network. The majority site was built using XHTML for structure and CSS for presentation, with a table-free layout. Most of the pages validate XHTML 1.0 Transitional. Most importantly the site was a great success and because I chose to use practical Web standards I was able to achieve all the goals laid out for the site with limited time and limited resources.
The Problem
The Drowning Prevention site has been around since around 1998 and it’s not been touched, with the exception of yearly content updates, since then. I’d done these updates before and found them particularly time consuming for a number of reasons. The site had originally be built with FrontPage and as the years past had gone through several different iterations, whenever I’d update it something would break or I’d have to rebuild an entire page just to add a few links. Some of the bulleted lists were built with tables and things like that.
The site was in much need of an overhaul, both visually and structurally. I sat down with the stakeholders and we began to talk about the goals for this site. I got an idea of how they wanted it laid out, what kind of visual feel and how they wanted to reorganize the content. It was all fairly straightforward and need to be done quickly because of the time sensitive nature of the content.
The Goals
As with every good project, we started with clear goals.The main goals, from the stakeholders, for this site were to:
- Update the content of the site
- Update the look and feel
- Make the site more consistent
- Make the site more accessible
- Make the site easier to use
I had some of my own goals for the site:
- Make the site easier to update
- Future proof the site
The Solution
Because they needed a new look and feel I realized that I’d need to build the site from the ground up. There was just way to much presentational code mixed in with their content. I started by creating a simple layout on paper, then later in Photoshop and going over that with the stakeholders. Obviously, given the simplicity of the site, this was easily done. Then I build out a template and began to migrate content from the old site and mix that in with the new stuff coming from the stakeholders.
(A personal side note - I’m not all that keen on the layout, but the stakeholders love it and I found in user testing that it more than fits the bill. In other words, it’s no Quark. Love that site.)
This content migration was a bit of a bear. I had to strip all of the presentational elements from the code which was time consuming. There are a few pages in the site that had so much going on I left them untouched, just cut that spaghetti code straight into the template. One thing I want to stress, I’ve I hadn’t gone to Web standards this would have be just as time consuming.
Along the way I tried to clean up the site’s exiting content as much as possible. I reorganized and retitled all of the links and did my best to impose a simple, clear Information Architecture on the site. This was not done as well as I’d have liked, but I just didn’t have the resources. There were many times that I had to improvise.
After a week or so I had the basic site all built out and all of the content migrated and updated. I sent it off to the stakeholder for review. I spent the next few days tweaking the template and user testing the site. I found out that the site, although valid, had a few problems in Safari and IE 5 on a Mac and did my best to resolve those. I did have to compromise a bit, but I was pretty happy with the result.
A Small Wrench in the Works
Having worked out most of the browser bugs and refined the template I felt like I was nearing the end. It wasn’t quite that simple though. It never is. You see the stakeholders wanted to make some pretty big changes to the content as well as quite a bit more updates. At that time we decided to make some major tweaks to the layout as well.
Web Standards to the Rescue
These major changes and layout tweaks were done in under an hour. Because I’d built the site with Web standards they were easy. Really easy. The actual content changes were a snap because the code was so stripped down and clean and all the layout changes were done within the CSS file. Without that the layout changes alone would have easily taken half a day even using sketchy “find and replace” methods on the 34 pages of the site.
The stakeholders were ecstatic, I was relieved and the site launched on time. A Web standards success story, and that is just the beginning. Wait until the next time this site needs a major rework. It will be a piece of cake and I’ll look like a superstar. And that’s what it’s all about, isn’t it?
A Few More Benefits
In addition to the benefits talked about above, by choosing to build the site with Web standards in mind I was able to:
- Eliminate browser issues with both current and legacy browsers
- Insure forward compatibility with future browsers
- Achieve instant compatibility with most non-web devices
- Decrease the total file size from 33MB to 14MB
- Drop average page weight from 11KB to around 6KB
- Increase accessibility and usability of the site — by default
- Radically reduce the learning curve/ training time for distributed authorship
Filed under: Web General
Comments
1. Simon Willison said:
That’s a really nice site, and a great account of the practical benefits of using web standards in a “real” commercial environment. Congratulations on the site launch.
Posted on June 15, 2003 03:04 PM | #
2. Geoff Deering said:
Your code is bordering on STRICT DTD, why don’t you go all the way. There’s nothing much in there that relies on TRANSITIONAL. If it is inherently STRICT, it says and does more to make it so.
Posted on June 16, 2003 02:48 AM | #
3. Bob said:
Nicely done, Keith! The working web needs to see more case studies like this to prove the benefits of standards-based markup and accessibility. I’m about to start one of my own right now; documenting the process, I’m afraid, is going to be easier than the process itself - the site in question is a huge mess… standards to the rescue! (Hopefully!) Again, nice job!
Posted on June 16, 2003 07:07 AM | #
4. Justin said:
Very good work. I think you’ve done a great job. Very easy to navigate and understand - with or without CSS.
Although a much less-demanding client, I just finished a site design yesterday for http://www.quarterturnfittings.com and by using XHTML Strict & CSS, I can turn the site on it’s nose in a couple clicks. To the client, it visually puts his competition to shame (especially for and consistency). Plus the foundation provides so many benefits for myself, visitors, and clients - current and future. Unfortunatly my current employer has limited resources for cross-browser testing, but for my first experience designing a production site, from the ground up, in XHTML strict and it’s not really such a big deal like many people make it out to be.
Nice to see others approaching standards with their head firmly on their shoulders. I’m a believer!
Posted on June 16, 2003 03:33 PM | #
5. Gabriel Vasquez said:
I’ve been studying web design for a long time and I’ve just started getting into the web standards. I think this is a great case study and it’s a good way to show how well the web standards can be used to maintain a website, present and future.
Great Job!
Posted on June 20, 2003 05:33 PM | #
6. Keith Burgin said:
Keith -
Nice work. Good to see someone is out there doing the standards thing in the commercial arena. Clean, usable, and informative.
I’m currently building two full sites in XHTML strict, and my site is currently table-less and strict as of a couple of weeks ago.
FYI, if you look at the articles page and change all of the link variables to lower-case (PAG, etc.) they might validate just fine. I checked one of them, and it links up just fine with lower-case variables.
Posted on June 23, 2003 02:53 PM | #
7. Keith said:
Keith - Thanks for the comments, and I’m sure you’re right about the link variables. But frankly I imagine I’ll not take the time. That is where, in my mind anyway, “practical” Web standards take over. Do I want to spend time fixing links that should work just fine in all browsers just to please the validator??
Eh, I’ll pass.
Same goes with a few pages on the site that were horribly long built with nested tables, wild span tags, too many font tags, etc. I can live with one or two pages that aren’t up to XHTML snuff. The amount of effort needed to convert those pages to XHTML, let alone get them to validate, just isn’t worth it.
Posted on June 23, 2003 03:22 PM | #
8. Mike said:
You might wanna fix the ‘target=”_new”’. This opens a new window named ‘_new’, what you probably meant was ‘target=”_blank”’. A common error…
Posted on July 2, 2003 06:50 AM | #
9. Keith said:
It was my understanding that _new and _blank were pretty much interchangable ways to open a new window. I’m pretty sure I heard somewhere that you don’t want to name a window “new” (or “blank” for that matter) but of you include the underscore you’ll be alright. Am I wrong?
Anyway, I’ve been using _new forever and I’ve never had a problem and until I do, or hear a really go reason not too, I think it’s fine.
Posted on July 2, 2003 03:39 PM | #
10. Mike said:
Both _blank and _new (and fred, fnord, etc) will open new windows. But _new is here more like fred than _blank. The effect seems the same, but if you have multiple target=_new links, each will open in the same window (the one named _new) while target=_blank will *always* open a new brand window.
Posted on July 2, 2003 10:20 PM | #
11. Mike said:
Uh, that’s brand new window, not new brand window. Sorry…
Posted on July 3, 2003 05:06 AM | #
12. Geof Harries said:
Congrats on the new design. Looks great!
I can definitely empathize with you, Keith, on the overwhelming task it is to bring a big website to validation.
About a month ago (I was paid a lot of cash luckily) to completely rebuild a 452 page static site with CSS and HTML 4.01; its owners only wanted the content changed. It took me over 50 hours of work, and now the site’s content can be easily ported over to an XHTML layout in its next revision. What a beast…
Replacing font tags at 3 a.m. on a rainy Sunday morning really sucks. But it was a labour of love: I am an XHTML/CSS flag waver if there ever was one! Makes my life a heck of a lot easier.
geof
Posted on July 4, 2003 01:07 PM | #
13. Dan Origo said:
Nice work. Good to see someone is out there doing the standards thing in the commercial arena. Clean, usable, and informative.
I’m currently building two full sites in XHTML strict, and my site is currently table-less and strict as of a couple of weeks ago.
Posted on November 25, 2003 04:02 PM | #
14. Corny said:
I know i’m pretty late in the debate, but those ‘tag-soup’ riddled pages of yours (the ones that were too laborous to change) might just be in tip-top shape after a round of HTMLTidy!
Keep up the grand work!
Serge
Posted on January 6, 2004 05:26 AM | #
15. Anny said:
One of my favorite aphorisms (I think it was George Bernard Shaw, with reference to a poodle walking on its hind legs), which immediately came to mind when I saw many of the CSS experiments and examples at wireframe. All of those I looked at were just fine in Safari, and while there’s unfortunately no explanations for how any of them are done, if you really need to, I know you’ll be able to work it out. Must say too, I really like the clean design and color scheme of the site itself.
Posted on March 10, 2004 04:06 AM | #
16. Daddy said:
Very interesting site!
Posted on May 3, 2004 07:29 AM | #
17. Cozy said:
HTML, XML, CSS and the DOM are more than just a set of interesting technologies. They are a way of creating Web pages that will facilitate the twin goals of sophisticated and appropriate presentation and widespread accessibility.
Keep it up good work!
Posted on June 3, 2004 01:28 PM | #
18. Fredy said:
Good reading!
Posted on July 24, 2004 12:13 AM | #
19. Foster said:
Perfect working, I think. Navigation’ve to be maximum easy and fast on web-site
Posted on July 30, 2004 05:08 AM | #
Comments are now closed