Status
Not open for further replies.

klassobanieras

Wise, Aged Ars Veteran
153
Just for giggles, I've been running various tech sites through http://validator.w3.org/ for the last hour or so.

Ars did better than many (I'm looking at you Engadget), but still...

On the one hand you've got sites having to go through all kinds of contortions to work around IE6 bugs, but on the other you've got browsers having to bend over backwards to prop up sites with totally broken markup. One of these stories we hear about frequently, the other...not so much.

A lot of the errors that came up for Ars look like really trivial fixes (unescaped amersands, unbalanced tags, use of the non-standard <clint> tag). So what gives? I'm not being judgemental, rather I'd love to hear the perspective of a big, high-traffic site on valid vs. the broken-but-functional HTML which seems to be the norm for large sites.

http://validator.w3.org/check?uri=arstechnica.com

http://validator.w3.org/check?uri=microsoft.com
http://validator.w3.org/check?uri=google.com
http://validator.w3.org/check?uri=opera.com
http://validator.w3.org/check?uri=slashdot.org
http://validator.w3.org/check?uri=techcrunch.com
http://validator.w3.org/check?uri=engadget.com
http://validator.w3.org/check?uri=gizmodo.com
 

klassobanieras

Wise, Aged Ars Veteran
153
Aurich":1za5htu0 said:
Maybe Clint and Kurt care about this stuff, but really, aside from nerd wanking points, is there any real reason to even think twice about the W3 validator?

I guess that answers my question about your perspective on it :)

Nerd wanking points aside, programming has a well-established tradition of being anal about correctness that's served it well. But I can see how the tradeoffs might be radically different in web-land.

EDIT: More concretely, validation would help if you (eg) added something to the bottom of <body> on a civis page, verified that it worked as expected on IE and Firefox, and then pushed it out to the site.
 

Aurich

Approximate Knowledge of Many Things
43,455
Ars Staff
In a world where there was one web browser that operated according to W3 standards only it would of course make a lot of sense. That's not even close to the reality though, and that's not just hacks for IE 6 (which we use less and less of every day really, we've basically stopped supporting that browser).

There are a lot of metrics that we are super anal about, page load times for instance, I just wonder if there's a reason validating for W3 should really be amongst them. It seems like a bit of a perfect is the enemy of good situation.
 

Kurt

Ars Tribunus Angusticlavius
8,820
Subscriptor++
I fixed one of those unclosed tags earlier today.

HTML Validation isn't really that big of deal and certainly not worth spending a ton of time on. It's complexified for us because we both serve third party ad code and allow authors to put HTML in their content. We do write mostly valid HTML from the start, though there's always stuff that slips through.

We have never once in the history of the site had a problem that validation would have prevented either. We have a variety of other automated tests in place for catching site problems.
 

Aurich

Approximate Knowledge of Many Things
43,455
Ars Staff
klassobanieras":8y6rrrzz said:
Gotcha. I guess this was the wrong forum for the post; I didn't intend it as a bug-report but was curious more than anything, thanks for the responses.
This is the right forum for this kind of stuff, we're always happy to talk about how/why the site is built the way it is. :)
 
Status
Not open for further replies.