W3C home > Mailing lists > Public > public-html@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 17:29:16 +0200
To: Bruce Lawson <brucel@opera.com>
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: <20100607172916238152.59108b2f@xn--mlform-iua.no>
Bruce Lawson, Mon, 07 Jun 2010 15:05:32 +0100:
> On Mon, 07 Jun 2010 14:42:17 +0100, Laura Carlson 
> <laura.lee.carlson@gmail.com> wrote:
> 
>>> # 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="">
>>> # when a figure has a <figcaption> the content of the <figcaption>
>>> should act as the accessible name for the image(s) inside the <figure>
>>> if the image(s) do not have a text alternative provided using the alt
>>> attribute.
> 
> Sounds sensible to me. But this couls be misinterpreted as 
> contradictory. For example.
> 
> <figure>
> <img src=ceo.jpg alt="">
> <figcaption>Brian Slick, CEO of Blammo Corp, leveraging a 
> synergy</figcaption>
> </figure>
> 
> seems entirely accessible (?) and fits in with your first bullet. But 
> a designer might be troubled by the first bullet which says no <img 
> alt=""> and write
> 
> 
> <figure>
> <img src=ceo.jpg alt="Brian Slick, CEO of Blammo Corp, leveraging a 
> synergy">
> <figcaption>Brian Slick, CEO of Blammo Corp, leveraging a 
> synergy</figcaption>
> </figure>
> 
> which is "too much accessibility".

it is duplicate content. How about

<figure role="img" >
<img src=ceo.jpg alt="Description below." role="presentation" >
<summary>Brian Slick, CEO of Blammo Corp, leveraging a synergy</summary>
</figure>

Or may be the infamous solution of *dropping* the alt in order to show 
that image really is significant, would be the backward compatible 
solution? Note the combination of role="presentation" and no alt:

<figure role="img" >
<summary>Brian Slick, CEO of Blammo Corp, leveraging a synergy</summary>
<img src=ceo.jpg role="presentation" >
</figure>

Yet another option could be to wrap the <figure> in an object, as a 
legacy way to make legacy UAs aware that the whole thing is an image:

<object><figure role="img" >
<summary>Brian Slick, CEO of Blammo Corp, leveraging a synergy</summary>
<img src=ceo.jpg alt="" role="presentation" >
</figure></object>
-- 
leif halvard silli
Received on Monday, 7 June 2010 15:30:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:09 GMT