• Hello, with widgetsidebar, “Search” is not valid at
    https://validator.w3.org/
    that say:
    document type does not allow element “label” here; missing one of “p”, “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag

    So, in general-template.php, line 112
    <label class="hidden" for="s">' . __('Search for:') . '</label>

    must be
    <div><label class="hidden" for="s">' . __('Search for:') . '</label></div>

    and that’s valid.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Search code not valid (w3c)’ is closed to new replies.