W3C home > Mailing lists > Public > public-html-a11y@w3.org > June 2010

Re: aside and figure elements

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 7 Jun 2010 14:10:10 +0200
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: Steven Faulkner <faulkner.steve@gmail.com>, Laura Carlson <laura.lee.carlson@gmail.com>, Shelley Powers <shelleyp@burningbird.net>, HTML WG <public-html@w3.org>, HTML Accessibility Task Force <public-html-a11y@w3.org>
Message-ID: <20100607141010105838.504b9635@xn--mlform-iua.no>
Leif Halvard Silli, Mon, 7 Jun 2010 14:01:57 +0200:
> Steven Faulkner, Mon, 7 Jun 2010 11:18:24 +0100:
>> hi laura,
>> we haven't discussed the <figure> element.
>> my take on the figure element is that the
>> # <figure> should be mapped to accessibility APIs as a grouping
>> element like <p> or <div>
>> # decorative images should not be allowed as content of a <figure>
>> element as the HTML5 semantics imply that the content of the figure
>> should be meaningful, so no <img alt="">
> Unless I misinterpret what you say, then WAI-ARIA disagrees with you 
> (and Shelley has been using the same example in her discussion of the 
> issue). WAI-ARIA "blesses" a construct which is 100% identical to a 
> <figure> containing a presentational <img> in combination with a 
> caption: [1]
> ]]
> In the following code sample, the containing div element has a WAI-ARIA 
> role of img and is appropriately labeled by the caption paragraph. In 
> this example the img element can be marked as presentation because the 
> role and the text alternatives are provided by the containing element.
> <div role="img" aria-labelledby="caption">
>   <img src="example.png" role="presentation" alt="">
>   <p id="caption">A visible text caption labeling the image.</p>
> </div>
> [[

Follow-up: Thus I guess we should assume that the figure caption 
captions the entire <figure> and not the specific element(s) that 
make(s) up the content of the <figure>.
leif halvard silli
Received on Monday, 7 June 2010 12:10:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:40 UTC