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 <[email protected]> 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 <[email protected]> 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: [email protected] >> ******************************************************************* >> >> > > > -- > 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 > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [email protected] > ******************************************************************* > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
