Google, meet Web Standards

In the last few months I have written a couple of posts about the lack of Web standards and semantics in the code Google uses. The most recent one is Google valid and strict, where I present a quick rewrite of the HTML and CSS used for Google’s home page. It’s basically just a proof of concept to show that Google would benefit from using Web standards.

A few weeks prior to that I noted that Google Accessible Search rewards accessibility. It turns out Google could have done a lot better, but it’s certainly a step in the right direction despite being focused on blind and visually impaired people and not exactly leading by good example in the accessibility and Web standards departments.

However, in that article I also mentioned Joe D’Andrea’s work on a Google Search Appliance Mobile Stylesheet, which he describes in Google Goes To Web Standardsville, Part One. That got my hopes up about Google eventually fixing their markup. With that in mind I was very excited when Joe contacted me some time ago to let me know that he was working on a complete rewrite of the XSLT used by the Google Search Appliance.

The intention was, of course, to make the code used for the GSA’s search interface conform to Web standards, be accessible, and work in all devices. Joe asked me if I would be interested in taking a look and suggest improvements. You can’t really say no to a request like that, can you?

After a bit of suggestions and tweaking and back-and-forth, the Google Search Appliance XHTML Stylesheet is now available for the Google Search Appliance. The Stylesheet will make the GSA interface use Web standards – XHTML 1.0 Strict for structure and CSS for presentation. Instead of going into the details on how this was developed, what it does, and what it means, I’ll refer those who are interested to Joe’s detailed article Google Goes To Web Standardsville, Part Two.

Here’s hoping this will lead to google.com eventually being converted to Web standards.

Comments

1. September 22, 2006 by Olly

That's a nice step in the right direction :)

If you don't mind me asking, why did you choose XHTML?

2. September 22, 2006 by David Oliver

Excellent news! Well done for shaking 'em up.

3. September 22, 2006 by Roger Johansson

Olly: I didn't make that choice, so maybe Joe has an answer.

David: Thank Joe for doing all the hard work.

4. September 22, 2006 by Kenzie

The Google Mobile Search page is valid: http://www.google.com/xhtml

5. September 22, 2006 by Yannick

This is certainly good news.

Olly: I'm not sure if it was Roger's choice.

6. September 22, 2006 by Yannick

oh oops I guess Roger already answered Olly's question before I posted. My bad.

7. September 22, 2006 by Joe D'Andrea

Kenzie: Yep, Google Mobile uses valid XHTML-MP. Now the Search Appliance does too!

Olly: Regarding my choice of XHTML, between the Search Appliance employing XSLT (already in the XML realm) and my daily use of XHTML, it was a natural choice.

However, there's more to it than that. I've also seen firsthand how XHTML can be a catalyst for positive change - especially in the business world - hence "XHTML" front and center in the project title. It's a differentiator (or poster child, depending on your point of view).

More Info - the W3C weighs in on XHTML-vs-HTML.

8. September 22, 2006 by Festus Burgemond

At times like this I wonder why AT&T let a genius like Joe go. He lead the charge to redevelop their sites using XHTML and CSS, then SBC bought AT&T, Joe was let go, and SBC reskinned all the sites using 1998-style coding.

9. September 22, 2006 by George

Hopefully someone at Google will ask you for a copy of the code. They are losing money by burning the bandwidth.

10. September 23, 2006 by Joe D'Andrea

George: Indeed - they've got the source! The folks at Google Enterprise deserve a chunk of the credit, as I've been getting a lot of encouragement and support from them since day one. They'll be keeping an eye on future improvements as well.

As for Google.com proper, well ... first things first. :)

11. September 23, 2006 by Rimantas

Ah. Let's feed our forgiving HTML tag-soup parsers with xhtml and pretend this is the right thing and HTML's SHORTTAG YES, be damned, cause nobody bothered to implement it.

And Google employs Ian Hickson who should know better...

12. September 26, 2006 by Robert Wellock

It seems the Giants might now be listening to some sense about standards.

13. September 26, 2006 by Joe D'Andrea

Update: I can appreciate both sides of the ongoing XHTML-vs-HTML debate. With that, I'm working toward the XSLT generating your choice of XHTML or HTML instead of just XHTML. (Follow the link to monitor progress.)

14. September 27, 2006 by Candice Harris

Great news! I'm sure a lot of people will be pleased:)

Sorry, comments are closed for this post.

Information, sponsorship, and externals

About the author

Roger Johansson is a Swedish web professional specialising in web standards, accessibility, and usability. More about me and this site.

Subscribe

Looking for web hosting?

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up!

Latest articles

Validation statistics from Nikita the Spider Comments off
An analysis of the sites crawled by the bulk validation tool Nikita the Spider during March 2008.
Authentic Jobs API and Affiliates program Comments off
The Authentic Jobs job listing service now has a public API and an affiliate program.
What does Acid3 mean to you and me? Comments off
Opera and Apple have announced that their web browsers pass the Acid3 Browser Test, but how will that help web designers and developers?
Designing Web Navigation (Book review) Comments off
Learn the fundamentals of navigation design and design better navigation systems for large and small sites as well as for web based applications.
DOMAssistant bundle for TextMate Comments off
To save keystrokes and speed up development I have created a DOMAssistant bundle for TextMate.
First impressions of Internet Explorer 8 Beta 1 Comments off
My impressions after trying out Internet Explorer 8 Beta 1 for a couple of days.

More articles

Favourites, here and elsewhere

Affiliation

  • NetRelations
  • Kaffesnobben
  • Dagens recept
  • 9rules network member

Support this site

Show your support by buying a book or two from SitePoint or getting me something from my Amazon Wish List.