@Ivor can you confirm what @wizylabs said? Do themes have to be W3C valid?
Themes and templates have to follow W3C ’s standards, there’s some exception thought.
- Duplicated ID’s
- Typos in tags
- Tags not closed
- Improperly nesting tags
- Capitalizing tags
- Not encoding special characters (& timthumb for example)
- Missing alt tag in images
- Head content must be within the head
- Improper use of form tags
- Video embeding
- Some jQuery plugins can create validation errors
Also dont forget that TinyMCE in wordpress, sometimes does not close p tags! which is not valid
That covers like 50% of the themes
@landon – There isn’t a p attribute, but that’s what it says
wpCanyonThemes saidWe don’t reject for that single reason in a quick note I’ll tell the author to fix it, is not a big deal.
Not encoding special characters (& timthumb for example)
That covers like 50% of the themes@landon – There isn’t a p attribute, but that’s what it says
Notified him to fix it, didn’t want to tell you which theme, thought you might delete the item
document type does not allow element “input” here; missing one of “p”, “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag
This fired in a simple form tag with a correct input tag.
Just wrap the input with a block element if you don’t want to use fieldset