W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2011

RE: Creating custom landmarks

From: Gunderson, Jon R <jongund@illinois.edu>
Date: Mon, 12 Dec 2011 21:15:31 +0000
To: Devarshi Pant <devarshipant@gmail.com>, "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Message-ID: <46739F12637CC94E82F75FF874E4A14707080F6F@chimbx4.ad.uillinois.edu>
Landmarks can have labels using aria-label or aria-labelledby attributes:

http://www.w3.org/TR/wai-aria/states_and_properties#aria-label

http://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby 

http://www.w3.org/TR/wai-aria/roles#namecalculation 
 
If you have more than one landmark role of the same type you should use labels to identify and describe the sections 

Good design should have both landmarks and headings.

Jon



-----Original Message-----
From: Devarshi Pant [mailto:devarshipant@gmail.com] 
Sent: Monday, December 12, 2011 2:07 PM
To: w3c-wai-ig@w3.org
Subject: Re: Creating custom landmarks

HI -- I believe you only have a set of pre-defined roles to play with, and these are especially helpful when you have a design that agrees with the design these roles were supposed to work with. I see your point though - as an example consider a complex website with three distinct navigation menus with a make believe roles list of Banner, Main, Navigation Sales, Navigation Engineering, Navigation Advertising, Content Info, etc.
Roles may help some screen reader users, but again, if you have a well thought out heading structure, landmark roles may not be necessary, as a proper heading structure helps everyone. When you say your site is long and complex, does it have headers before *complicated sections*?

Thanks,
Devarshi
Received on Monday, 12 December 2011 21:16:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 12 December 2011 21:16:11 GMT