Default theme won’t validate after 2.8 upgrade
-
I’m using the default Kubrick-based theme and decided to validate it on a whim after I upgraded from 2.7. It gives me this one error:
Line 33, Column 23: Attribute “role” is not a valid attribute. Did you mean “frameborder” or “scrolling”?
<div id=”header” role=”banner”>You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
Of course the doctype’s still XHTML transitional and I’ve only edited my files to include author names next to post times. I looked up the role attribute and see that it’s considered a valid part of transitional. Any ideas what caused this? Do I need the banner role declaration? Forgive my stupidity but I know very, very little HTML/CSS stuff. Oh, and I deactivated all my plugins and rechecked just in case–problem persisted.
Thanks in advance.
The topic ‘Default theme won’t validate after 2.8 upgrade’ is closed to new replies.