Getting your university's website to validate...
By Antipatternnodata. Wednesday, February 4, 2009 5:22:23 AM
Thus I wrote this rather lengthy article, in order to get you involved, too!
I remember that my old school's website was atrocious. It was slow, required loads of JavaScript and stood out through a lack of relevant content. (I just checked, it still does.) And the same was true about my current university but just before I got here, their website was completely rebuilt with web standards in mind —they must have seen me coming! However, I still found a few glitches on their site, nothing major though. On the main site, there were some ampersands (that's "&") in URLs that weren't properly escaped and the library's news section was technically outdated. (If you find a few terms that don't mean anything to you, don't worry,) Also, the library's Journal search used a JavaScript (presumably to verify user input) that made it difficult to create custom searches in Opera. I wrote an e-mail to our IT-department and they addressed all of these issues very quickly — woohoo! But now I want to write about the whole thing in more general, so that you might be able to make your uni/school's website standards compliant...
Background
Often websites are "optimized" for Internet Explorer. "Optimized" here is more of an euphemism, because due to its poor standards compliance, "optimizing" for Microsoft's Internet Explorer often leads to a website that is inaccessible for other browsers. However, such websites are often not only poorly accessible with other browsers, but also screen readers, crawlers (such as the Google bot) and often take longer to load. That's why in many countries legislation has been passed to ensure that official websites have to fulfill certain minimal criteria in order to ensure accessibility. Although web standards compliance and accessibility are different things, they often go hand in hand and generalizing it can be said that standards compliance is necessary for accessibility. But I don't want to go into too much detail, as these arguments have made that before, much better than I could. Check out the Web Standards Curriculum at Opera Developers!
Check...
So where to start? Checking your university/school's website is not that difficult, even if your knowledge of HTML and websites is very basic. The most important thing to know is the HTML-validator by the W3C. The World Wide Web Consortium is the organization that develops and standardizes HTML and related standards, such as xHTML and CSS and they also have a CSS-Validator. Their validator will tell all you need. As an Opera user, it's even easier to check a website's standard compliance: Simply right click on the site and then choose Validate and Opera will upload the site to the validator - that's all! Try it: Validate Opera's website and Microsoft's website. And you will see the difference! At the time of writing Opera's website has 0 errors and 0 warnings and validates. However, Microsoft's front page has 117 errors and 37 warnings. Surprise... Read more about it in the Opera Web Standards Curriculum. But when validating your institution's website, don't restrict yourself on validating the front page, check other sites as well. As mentioned, the main site of my university validated, but parts the library's news section did not.
Act...
Once you have identified errors, it's probably the best to contact you university's IT section and tell them what you have found. They should know what to do, if not you can point them to Opera's Web Standards Curriculum. However, if you are at a school, it is well possible that admins have too much to do and they are willing to let you help out. But often they are reluctant to do so, which is quite understandable: in the end the website will be their responsibility. But if you let your social skills play and write friendly emails and reply to theirs, they might take your arguments into account, probably not immediately, but maybe later, when the website gets a major overhaul anyways.
But even if you get your website all standards-conformed you have to test it in all relevant browsers. This includes Firefox, Safari/Konqueror and, obviously Opera. Unfortunately Internet Explorer 6 and 7 (soon 8, too) have to be tested, too. Whilst the future IE8 will be almost as trouble-free as Opera, Firefox and Safari, particularly IE 6 poses a major challenge to web development. It all depends on the technology you used, but personally I recommend conditional style comments to avoid the worst deviations. They are relatively hassle free as all normal browsers will ignore them. But bear in mind that websites are not static and will look slightly different on different browsers and screens.
The cream on your coffee...
If you have plenty of time and are really interested in the topic, read about accessibility and check your website on mobile browsers. Again, using Opera comes in handy as the desktop browser allows you to display websites in a mobile mode. Click on View and choose Small Screen.
In the end...
Whilst standards compatibility is important, it is not enough. As mentioned, accessibility is another, albeit more complicated issue. Again, there are many guides on that on the net, too. (Did I mention Opera's Web Standards guide?!) And whilst you are at it, if your institution's website is technically perfect, you might want to consider helping out with the content, too. Because even the best layout and perfect accessibility are worth nothing if the content is bad or is simply missing.
My final words...really!
I hope that didn't sound all too complicated. If so, let me know... Also, feel free to ask any questions and share your experiences. Good luck!





Risanto robocop48id # Wednesday, February 4, 2009 5:37:54 AM
ehoppe # Wednesday, February 4, 2009 9:25:28 AM
ZaraZaraL # Wednesday, February 4, 2009 9:44:07 AM
Pablo García Riverapablogrb # Wednesday, February 4, 2009 1:59:11 PM
Charles SchlossChas4 # Wednesday, February 4, 2009 2:00:16 PM
Errors found while checking this document as XHTML 1.0 Transitional!Result: 13 Errors
http://explore.fortlewis.edu/
I think she is in the middle of updating it
Chris Millschrismills # Wednesday, February 4, 2009 3:36:39 PM
1. Validation is important, but you might find that getting your university pages to validate completely is impossible, because it is based on top of a horrible CMS that spits out nasty code. In such a situation, it is good to do what you can - suggest to the site maintainers that they make easy changes first, for example replacing fake headings created with elements with proper heading levels (<hx>). It is not difficult to explain that even a simple change like this will improve SEO and make the page more accessible (a proper heading hierarchy is essential for those using screenreaders to navigate a page). 2. I agree that conditional comments is a good way to serve apropriate styling for bad old browsers (IE 6 is the main offender still in mass usage). Bruce Lawson wrote a really good article on conditional comments.
Charles SchlossChas4 # Wednesday, February 4, 2009 5:17:04 PM
Patrickptckian # Friday, February 6, 2009 9:59:57 AM
Charles SchlossChas4 # Friday, February 6, 2009 1:53:46 PM
Ruben Garciaeztigma # Tuesday, February 17, 2009 4:36:20 PM
I guess I'll just have to be nice with her and talk her into updating the site.
Antipatternnodata # Thursday, February 19, 2009 4:12:47 PM
@eztigma:
Haha, a common problem! What you could try to do, depending on your own html/css skills is to suggest a rewrite of the current design, in order to make it standard compliant... That way she can keep her "fancy" design, which at least validates. Good luck!
FELIX KIMARUFLEXAZZ # Sunday, February 22, 2009 1:38:48 PM
Dani Iswaradaniiswara # Friday, February 27, 2009 10:36:03 PM