- From: Alex Ross <aross.nathan@gmail.com>
- Date: Fri, 20 Apr 2012 07:14:49 -0600
- To: www-validator@w3.org
With the following HTML5 code, I get an error on the "tablist" role assignment to <ul>. However, according to the HTML5 spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria it says that it is a valid role for a <ul>. Context: <nav> <section role="tabpanel"> <ul role="tablist" id="nav-tabs"> <li role="tab"><a href="./?p=home" accesskey="1" title="Home">HOME</a></li> <li role="tab"><a href="./?p=gallery" accesskey="2" title="Gallery">GALLERY</a></li> <li role="tab"><a href="./?p=user-list" accesskey="3" title="User List">USER LIST</a></li> <li role="tab"><a href="./?p=events" accesskey="4" title="Events">EVENTS</a></li> <li role="tab"><a href="./?p=videos" accesskey="5" title="Videos">VIDEOS</a></li> </ul> </section> <hr> <section role="tabpanel"> <ul role="tablist" id="doc-tabs"> <li role="tab"><a href="./?p=home&a=today" title="Latest News">LATEST NEWS</a></li> <li role="tab"><a href="./?p=home&a=dir" title="News Archive">NEWS ARCHIVE</a></li> </ul> </section> </nav>
Received on Friday, 20 April 2012 13:15:21 UTC