W3C home > Mailing lists > Public > wai-xtech@w3.org > August 2010

Re: role="presentation" on an image

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Mon, 23 Aug 2010 15:28:00 +0100
Message-ID: <AANLkTinYwEqEa5z3hCFyEXDxL4Pt9yQCkqJa8fWPGDL6@mail.gmail.com>
To: David Bolter <david.bolter@gmail.com>
Cc: W3C WAI-XTECH <wai-xtech@w3.org>
hi dave,
>role="label"

there is no ARIA role="label"
there is an aria-label property.

regards
steve

On 23 August 2010 15:23, David Bolter <david.bolter@gmail.com> wrote:

> Hi Steve,
>
> What about putting role="label" on the image, and adding an aria-labelledby
> relation?
>
> cheers,
> D
>
>
> On 23/08/10 7:59 AM, Steven Faulkner wrote:
>
> Hi all,
> If an image has a role=presentation and a non empty alt, shouldn't the alt
> text be passed to AT?
>
> example:
>
> <a href="home.html"><img src="home.gif" alt="home page"></a>
>
> currently this typically results in a screen reader announcing:
>
> "link graphic home page"
>
> when the presenece of the role information seems less than useful in
> context.
>
> if role="presentation" allaowed the text "content" of the image object to
> be passed to AT then
>
> <a href="home.html"><img src="home.gif" alt="home page"
> role="presentation"></a>
>
> would result in the follwoing being announced:
>
> "link home page"
>
> currently this does not work as adding role="presentation" removes the
> image form the browsers accessible tree.
>
> --
> with regards
>
> Steve Faulkner
> Technical Director - TPG Europe
> Director - Web Accessibility Tools Consortium
>
> www.paciellogroup.com | www.wat-c.org
> Web Accessibility Toolbar -
> http://www.paciellogroup.com/resources/wat-ie-about.html
>
>
>


-- 
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Monday, 23 August 2010 14:28:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 13:16:09 GMT