W3C home > Mailing lists > Public > wai-xtech@w3.org > May 2009

Re: ARIA semantics for secondary navigation

From: James Craig <jcraig@apple.com>
Date: Tue, 19 May 2009 10:04:31 -0700
Cc: sailesh.panchang@deque.com, Ryan Doherty <rdoherty@mozilla.com>, wai-xtech@w3.org
Message-Id: <65D2E21C-44E4-4E0B-B7D3-C635A8854A7D@apple.com>
To: Victor Tsaran <vtsaran@yahoo-inc.com>

On May 18, 2009, at 2:12 PM, Victor Tsaran wrote:

> Could we perhaps have a way of naming those "navigation" landmarks?
> Ideally, I'd like to see:
> Role="landmark"
> Aria-name="main menu" etc.

We do have a way: aria-label and aria-labelledby. Seems to me like  
this is just an implementation detail rather than a problem with the  
spec. UAs and ATs could provide label information for landmarks, in  
addition to the localized name for the role. In other words, the  
markup below would… er, could… result in the following landmark list:

1. Navigation: Main Menu
2. Navigation: Secondary Navigation


<div role="navigation" aria-labelledby="main_nav">
	<h1 id="main_nav">Main Menu</a>
	…
</div>

<div role="navigation" aria-label="Secondary Navigation">
	…
</div>
Received on Tuesday, 19 May 2009 17:05:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 May 2009 17:05:17 GMT