E-mail List Archives
Proper assignment of ARIA Roles for a menu
From: Ryan E. Benson
Date: Aug 31, 2012 1:49PM
- Next message: d.lin@icitst.org: "Re: Call for Papers: The 7th International Conference for Internet Technology and Secured Transactions (ICITST-2012)!"
- Previous message: Paul J. Adam: "Re: Using aria-selected=true on any HTML element?"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread
Hi all,
I am working with somebody who wants to use some ARIA, but they are
implementing it incorrectly from what I can tell. Should it look like:
<div id=nav role=navigation>
<ul role=menubar>
<li role=menuitem>{name}</li>
<li role=menuitem aria-haspopup=true aria-labelledby=menu1Title>
<span id=menu1Title>Menu</span>
<ul role=menu>
<li role=menuitem><a>link</a></li>
<li role=menuitem><a>link</a></li>
<li role=menuitem><a>link</a></li>
</ul>
</li>
</ul>
</div>
They have role=navigation on the unordered list where I have the
menubar role then each list item with a link has a role of button.
TIA
--
Ryan E. Benson
- Next message: d.lin@icitst.org: "Re: Call for Papers: The 7th International Conference for Internet Technology and Secured Transactions (ICITST-2012)!"
- Previous message: Paul J. Adam: "Re: Using aria-selected=true on any HTML element?"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread