validator/grunt-html

Bad value “breadcrumbs” for attribute “role” on element “nav”.

kkirsche opened this issue · 1 comments

I was attempting to validate HTML that used the following code:

<nav role="breadcrumbs" aria-label="breadcrumb navigation">
  <ol class="breadcrumb">
    <li><a href="#">Home</a></li>
    <li><a href="#">Library</a></li>
    <li class="active">Data</li>
  </ol>
</nav>

I got:

_gh_pages/components/index.html [L3154:C63] Bad value “breadcrumbs” for attribute “role” on element “nav”.

I'm not sure why I'm getting this though as breadcrumbs is a valid role per the W3 spec found here: http://www.w3.org/TR/2007/WD-aria-role-20070601/#breadcrumbs

I'm sure there must be something I'm missing here and was hoping you may be able to address what I'm missing.

Closing. I didn't realize that the breadcrumbs role was removed in http://www.w3.org/TR/wai-aria/roles#landmark_roles