W3C home > Mailing lists > Public > www-validator@w3.org > April 2010

[VE][html5] Issue with menubar and child menu item's

From: Paul Tyng <paul@paultyng.net>
Date: Tue, 20 Apr 2010 14:08:12 -0400
Message-ID: <n2q8d517fed1004201108t22db855ag8393a95dfe062071@mail.gmail.com>
To: www-validator@w3.org
I’m not sure if this is an issue with my code or the validator.  I thought
that if you have an element with role=menubar you could have children that
are role=menuitem, but the validator is saying its invalid, and that the
parent has to be role=menu.  Is there something I’m missing in my markup? Is
this a validator issue?  Markup is similar to this:



<ul role="menubar"><li class="first" role="menuitem"><a
href="/">Home</a></li><li role="menuitem">



Etc…

Thanks,

Paul
Received on Tuesday, 20 April 2010 20:47:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:40 GMT