WordPress.org

Forums

Element hgroup not allowed/obsolete errors (2 posts)

  1. jcolgrove
    Member
    Posted 1 year ago #

    Currently getting the following errors when using W3C and need help fixing:

    Validation Output: 2 Errors

    Error Line 37, Column 52: Element hgroup not allowed as child of element header in this context. (Suppressing further errors from this subtree.)
    <hgroup id="branding" class="twelvecol last">
    Content model for element header:
    Flow content, but with no header, footer, or main element descendants.
    Error Line 37, Column 52: The hgroup element is obsolete. To mark up subheadings, consider either just putting the subheading into a p element after the h1-h6 element containing the main heading, or else putting the subheading directly within the h1-h6 element containing the main heading, but separated from the main heading by punctuation and/or within, for example, a span class="subheading" element with differentiated styling. To group headings and subheadings, alternative titles, or taglines, consider using the header or div elements.
    <hgroup id="branding" class="twelvecol last">

    Not sure where to edit or what even to edit! Trying to figure out why my photos won't show up on Bloglovin and hoping this is it! If it's not, teach me to fix that too please!! I'm a newbie!

    The blog I need help with is http://www.visionsofvogue.com.

  2. susantau
    Member
    Posted 5 months ago #

    I am getting the same W3C error:
    "Element hgroup not allowed as child of element header in this context."

    with Twenty Twelve theme. Did you ever figure this out?

Topic Closed

This topic has been closed to new replies.

About this Topic