Sunday, December 04, 2005

W3C Compliance and SEO

From reading the title many of you are probably wondering what W3C compliance has to do with SEO and some may be wondering what W3C compliance is at all.

What Is W3C Compliance?

The W3C is the World Wide Web Consortium and since 1994 the W3C has provided the guidelines by which websites and web pages should be structured and created. The rules they outline are based on the best practices and while websites don't have to comply to be viewed correctly in Internet Explorer and other popular browsers that cater to incorrect design practices, there are a number of compelling reasons to ensure that you or your designer ensure that the W3C guidelines are followed and that your site is brought into compliance.

Some non-SEO reasons to take on this important step in the lifecycle of your site are:

  • Compliance help ensure accessibility for the disabled.
  • Compliance helps ensure that your website is accessible from a number of devices; from different browsers to the growing number of surfers using PDAs and cellular phones.
  • Compliance will also help ensure that regardless of the browser, resolution, device, etc. that your website will look and function in the same or at least a very similar fashion.

At this point you may be saying, Well that's all well-and-good but what does this have to do with SEO?

Proper use of standards and bleeding edge best practices makes sure that not only is the copy marked up in a semantic fashion which search engines can interpret and weigh without confusion, it also skews the content-to-code ratio in the direction where it needs to be while forcing all of the information in the page to be made accessible, thus favoring the content. Reduce the amount of code on your page and the content (you know, the place where your keywords are) takes a higher priority. Additionally compliance will, by necessity, make your site easily spidered and additionally allow you greater control over which portions of your content are given more weight by the search engines.

To be sure, this is easier said than done. Obviously the ideal solution is to have your site designed in compliance to begin with. If you already have a website you have one of two options:

1. Hire a designer familiar with W3C standards and have your site redone, or
2. Prepare yourself for a big learning curve and a bit of frustration (though well worth both).

Resources

Assuming that you've decided to do the work yourself there are a number of great resources out there. By far the best that I've found in my travels is the Web Developer extension for FireFox. You'll have to install the FireFox browser first and then install the extension. Among other great tools for SEO this extension provides a one-click check for compliance and provides a list of where your errors are, what's causing them and links to solutions right from the W3C. The extension provides testing for HTML, XHTML, CSS and Accessibility compliance.

Where Do I Get Started?

The first place to start would be to download FireFox and install the Web Developer extension. This will give you easy access to testing tools.

Once you've done these you'd do well to run the tests on your own site while at the same time keeping up an example site that already complies so you can look at their code if need be.

To give you a less frustrating start I would recommend beginning with your CSS validation. Generally CSS validation is easier and faster than the other forms. In my humble opinion it's always best to start with something you'll be able to accomplish quickly to reinforce that you can in fact do it.

After CSS you'll need to move on to HTML or XHTML validation. Be prepared to set aside a couple hours if you're a novice with a standard site. More if you have a large site of course.

Once you have your CSS and HTML/XHTML validated its time to comply with Accessibility standards. What you will be doing is cleaning up a ton of your code and moving a lot into CSS, which means you'll be further adding to your style sheet. If you're not comfortable with CSS you'll want to revisit the resources above. CSS is not a big mystery though it can be challenging in the beginning. As a pleasant by-product you are sure to find a number of interesting effects and formats that are possible with CSS that you didn't even know were so easily added to your site.

But What Do I Get From All This?

Once you're done you'll be left with a compliant site that not only will be available on a much larger number of browsers (increasingly important as browsers such as FireFox gain more and users) but you'll have a site with far less code that will rank higher on the search engines because of it.

To be sure, W3C validation is not the "magic bullet" to top rankings. In the current SEO world there is no one thing that is. However as more and more website are born and the competition for top positioning gets more fierce it's important to take every advantage you can to not only get to the first page but to hold your position against those who want to take it from you as you took it from someone else.

No comments: