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

role="presentation" on an image

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Mon, 23 Aug 2010 12:59:38 +0100
Message-ID: <AANLkTin+2mNqVQLNeQXE6-c_gxeV=RYsh4G6g2uDM3v5@mail.gmail.com>
To: W3C WAI-XTECH <wai-xtech@w3.org>
Hi all,
If an image has a role=presentation and a non empty alt, shouldn't the alt
text be passed to AT?


<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

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"

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 -
Received on Monday, 23 August 2010 12:00:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:51:43 UTC