W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2013

Re: SUGGESTIONS ON LABELLEDBY

From: Sailesh Panchang <spanchang02@yahoo.com>
Date: Wed, 23 Jan 2013 12:13:05 -0800 (PST)
Message-ID: <1358971985.17032.YahooMailClassic@web125003.mail.ne1.yahoo.com>
To: 'WCAG' <w3c-wai-gl@w3.org>, "w3c-wai-pf@w3.org" <w3c-wai-pf@w3.org>
I look at this code and wonder what one is trying to accomplish:
Use ARIA for the sake of using it?
Heading tags expose structure and one can use them  suitably to do so.
If the regions marked by aria roles has the  same labels as the content of an h-tag, what is one accomplishing?
These are useless for sighted users anyway.
For assistive technology users (mainly vision impaired ones) this is plain duplication.
It is more useful if the label text described what  one sees visually but is not available by other markup, like
<ul role="navigation" aria-label="secondary">  
So when one tells me go to the secondary navigation or main navigation, I know what they refer to.
If someone were to say go to the 'Horses on Sale' or 'Mares' sections, I can do so easily using h-navigation.
The code sample below  is unnecessary code I think.
Sailesh Panchang

--- On Wed, 1/23/13, Joshue O Connor <joshue.oconnor@cfit.ie> wrote:


From: Joshue O Connor <joshue.oconnor@cfit.ie>
Subject: Re: SUGGESTIONS ON LABELLEDBY
To: "Schnabel, Stefan" <stefan.schnabel@sap.com>
Cc: "Gunderson, Jon R" <jongund@illinois.edu>, "David MacDonald" <david100@sympatico.ca>, "'WCAG'" <w3c-wai-gl@w3.org>, "w3c-wai-pf@w3.org" <w3c-wai-pf@w3.org>
Date: Wednesday, January 23, 2013, 6:55 AM


Schnabel, Stefan wrote:
> The world has turned. We need also similar examples using the new HTML5 sectioning elements in combination with<h1>,<h2>  etc.
>
> See e.g http://coding.smashingmagazine.com/2011/08/16/html5-and-the-document-outlining-algorithm/
>
> So the examples could be extended to e.g.:
>
> <div role="main" aria-labelledby="ID_MAIN_CONTENT_LABEL">
>
>     <h1 id="ID_MAIN_CONTENT_LABEL">Horses for sale</h1>
>
>     <section role=”region” aria-labelledby="ID_SECTION_CONTENT_LABEL">
>        <h2 id="ID_SECTION_CONTENT_LABEL">Mares</h2>
>
>        <article>
>           <h3>Pink Diva</h3>
>           <p>Pink Diva has given birth to three Grand National winners.</p>
>        </article>

Thanks for that Stefan. That sounds in line with what Jon was suggesting

Cheers

Josh
Received on Wednesday, 23 January 2013 20:13:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 January 2013 20:13:36 GMT