4 ms·
Don't upvote this. This is a shallow ad for their agency (which evidently doesn't do WordPress development). This article highlights the worst of the "webmaste
by gkoberger 11y ago
Don't upvote this. This is a shallow ad for their agency (which evidently doesn't do WordPress development).
This article highlights the worst of the "webmaster" mentality – ignoring the end results in favor of things like validation errors and tools used.
They trust Hillary as a politician because the source code has secret comments? Seriously? And then they trash Chris Christie for the same exact thing. And Bernie gets two thumbs down (and a shot at him for being a socialist... along with an ad for the authors) because he used WordPress? They call his site a mess but don't describe why. Bernie's site is impeccably designed and works well.
I'm sad about this article. Design and the web play a HUGE role in presidential campaigns. I happen to believe that you can tell a lot about a candidate from their website. But this was a shallow, pedantic and opportunistic waste of a potentially great topic.
- ikeboy 11y agoWhen even Google doesn't care enough to pass validation https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.google.com%2F https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.google.co... you wonder if it matters. I once went through the Alexa top 10 or so, IIRC not one passed validation.
- nevir 11y agoIt doesn't matter any more, and hasn't for years. Browser tech has been moving faster than validators can keep up. Newly specced features are being polyfilled, etc. Browsers and search crawlers deal with this; probably time for validators to be about something other than the site's static assets.
- bphogan 11y agoThis is the "broken windows" effect in real life. "Google doesn't care, and these other sites don't care, so why should I care?" I have found that validation serves a very important purpose - to guide your development. I have lost count of the times I have encountered CSS with all sorts of extra junk because things didn't look right, and the reason for it was that the underlying HTML was invalid. Yes, the browsers are smart. But they are still guessing. If you leave out a tag, the browser will close it for you. Not always in the right spot. Invalid pages could also result in a DOM tree that's not quite right, so JavaScript could be affected. Developers should validate their pages just as they lint their code, to ensure quality. Of course, if you're using cutting-edge elements, they won't validate. But that's a little different story. It's not a reason to not validate, it's just a reason to filter out those errors.
- insanebits 11y agoI do not agree with your point that you have to pass validation. First of all I don't say that you should leave unclosed tags for browser to figure out. Or doing something crazy to break things. Some of us still have to support older IE versions which needs to some workarounds to work with it. Even the validator.w3.org doesn't pass it's own validator. https://validator.w3.org/nu/?doc=https%3A%2F%2Fvalidator.w3.org https://validator.w3.org/nu/?doc=https%3A%2F%2Fvalidator.w3.... My point is that we need to use modern tools like html5 while still being backwards compatible with older browser which means breaking some w3c rules. Another valid case off the top of my head for breaking w3c(haven't tested if it passes validation) would be `<meta>` tags inside body tag. Which is part of the microdata format. Normally you're not supposed to put meta tags outside head but for while using mircrodata you sometimes have to rely on meta tags because your design doesn't allow for required(by microdata) to be shown on the website, so you use meta tag, which doesn't do any harm since it's not rendered for the user.
- ikeboy 11y agohtml doesn't give a (valid) way to be backward compatible? That sounds like a design flaw.
- wagglycocks 11y agoIt is a design flaw in the older browsers, not the spec itself. HTML hasn't changed in years, and XHTML is largely backwards compatible.
- fisadev 11y ago> This is the "broken windows" effect in real life. Had to point this out: windows are real, the broken windows effect is something from "real life".
- bphogan 11y agoYea it was poorly phrased, but so many people brush off the platitudes like "broken windows" in our industry.
- dccoolgai 11y agoNot defending all of their content/conclusions - but the podcast was only like 20 minutes long so I think they were using validation errors as a general "proxy metric" for the care/attention-to-detail the candidates used in making their sites. You might call it "sad and pedantic" if there were other articles out there doing the same thing, but this was really the only one I've come across (and I generally pay attention) that focused on a comparative "peeking under the hood" of the respective sites. I wish they hadn't taken that jab at Bernie, too, but the podcast was interesting if for no other reason than it's the only one of its kind I've seen thus far. I agree with you that it is a super-important topic and I hope we see some deeper dives in the future.
- e40 11y agoThis is why I read comments on HN before visiting the site.
- eip 11y agohttps://cdn-webimages.wimages.net/05165058f95780483904d85ae7594777161fe2-wm.jpg https://cdn-webimages.wimages.net/05165058f95780483904d85ae7...