This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Until recently role="search" on a section element passed HTML5 validation. Without any change to the HTML markup, all of a sudden pages that passed HTML5 validation now throw the following error: Error Line 62, Column 23: Bad value search for attribute role on element section. <section role="search"><div id="wet-srchbx"><h2>Search</h2> (used http://wet-boew.github.io/wet-boew/demos/index-eng.html for this example) Looking at the W3C HTML5 candidate recommendation, the latest W3C HTML5.1 draft and even the WHATWG HTML living standard they all indicate that role="search" is acceptable on a section element. Here are the relevant sections in each of those documents: HTML5: http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics HTML5.1: http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-implicit-aria-semantics HTML living standard: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria Please correct the validator so it no longer incorrectly identifies role="search" on a section element as being a validation error. Note that this bug also affects the Nu Markup validator and Validator.nu.
Fixed in the validator sources. I'll push the change to the validator later today.
Just checked and the pages are validating correctly again. Thank you for fixing the issue so quickly!
*** Bug 27149 has been marked as a duplicate of this bug. ***