How about in HTML5?
<section> <header>Some Title</header> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> </section> OR: <section> <h?>Some Title</h?> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> </section> -Dan From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Mathew Robertson Sent: Monday, March 05, 2012 5:22 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] list heading - best practice? For this example: <h1>some title</h1> <ul> <li>blah</li> <li>boo</li> </ul> ... any ARIA attributes are completely not required... <h?> tag, by definition, already titles the following content, simply by being in the same proximity, aka <h?> preceding some other content. The primary purpose of "labelled-by" appears to be to semantically link an given element to another; since proximity already gives you that behaviour, this use-case for this attribute would be when proximity isn't available, for example, say when something within a footer which references content from within the body. Aside... I never understood why "labelled-by" came into existence... there is already an attribute "for" which has essentially the same semantics... just promote "for" to be a global attribute. Thoughts? Mathew Robertson On 5 March 2012 20:51, Steve Faulkner <faulkner.st...@gmail.com> wrote: Hi, agree with Russ here, for example does <ul title="list_title"> change the semantics? I think not, use of aria-labelledby is another way of doing the same thing. note in practice for the majority case neither is announced by user agents such as assitive technology at the moment. Also if it was then you would get a situation where if the user was reading through the content they would hear the heading announced then here the same text announced when they encountered the list straight after. regards stevef On 4 March 2012 21:46, Russ Weakley <r...@maxdesign.com.au> wrote: > <h1 id="list_title">The list title<h1> > <ul aria-labelledby="list_title"> > <li>...</li> > </ul> > That way the semantic connection between the list and the heading is kept which I think is the purpose of what you're wanting, yes? > Cheers, > S > I hate to nit-pick, but I'd argue that the aria-labelledby does not really change the semantics of an element. The "semantics" of an element is about defining the element's "core meaning". The core meaning of an <h1> is that it is a level 1 heading. In the case above, the labelledby attribute "exposes" the content inside the heading (via the accessibility API) and associating this content with the unordered list. So, these elements will now have additional meaning for Assistive Devices that support ARIA. However, the attribute does not change the "core meaning" of either of the elements. Does this make sense? Russ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* -- with regards Steve Faulkner Technical Director - TPG www.paciellogroup.com | www.HTML5accessibility.com | www.twitter.com/stevefaulkner HTML5: Techniques for providing useful text alternatives - dev.w3.org/html5/alt-techniques/ Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html <http://www.paciellogroup.com/resources/wat-ie-about.html> ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* LEXI-COMP CONFIDENTIALITY NOTICE The information in this electronic mail is intended for the named recipients only. Any use of this information by anyone other than the intended receiver is prohibited. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this electronic e-mail or by calling 330-650-6506. Please delete it from your computer. Thank you. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************