Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How come the default theme Twenty Eleven fails validation test, both for HTML5 and CSS3? I checked: http://twentyelevendemo.wordpress.com/

Should I be bothered that the validation fails?

share|improve this question
    
HTML/CSS validation is a tool, not a strict rule. –  Chip Bennett Jul 24 '11 at 13:07
    
Unfortunately some people see it as a rule... –  onetrickpony Jul 24 '11 at 16:04
add comment

1 Answer 1

Validation is a tricky topic. It is good to have, but it is also theoretical thing in practical world.

I had checked that URL with Unicorn.

  • It explicitly says that HTML5 checking is not considered reliable and errors are mostly attribute related (which is verrry unlikely to be an issues).

  • CSS errors seem to be related to multiple browser-specific feature. Annoying? Yes. Possible to get by without? Will need to sacrifice some eye-candy.

My opinion is that unless you are dead set to only using perfectly validating themes on principle, then Twenty Eleven is not for you or you will need to create child theme and clean it up.

If you are concerned that Twenty Eleven just might have horrible markup/CSS issues - that is unlikely in theme of such high profile.

share|improve this answer
    
And if one wants to use only perfectly validating code, then one must avoid HTML5-based Themes until the spec is finalized and the validator settles on the finalized spec. Likewise with CSS3, for which browser-specific attribute prefixes are perfectly acceptable per the draft spec, but which the validator doesn't recognize. –  Chip Bennett Jul 24 '11 at 13:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.