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

Re: role="presentation" on an image

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Thu, 26 Aug 2010 08:59:13 -0500
To: David Bolter <david.bolter@gmail.com>
Cc: Steven Faulkner <faulkner.steve@gmail.com>, "Richards, Jan" <jrichards@ocad.ca>, W3C WAI-XTECH <wai-xtech@w3.org>, wai-xtech-request@w3.org
Message-ID: <OFA427E3C3.3FD8EF46-ON8625778A.0074C580-8625778B.004CD6E7@us.ibm.com>
I agree. Conformance tools should also flag an error with alt text on an 
image with role="presentation".

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   David Bolter <david.bolter@gmail.com>
To:     Steven Faulkner <faulkner.steve@gmail.com>
Cc:     "Richards, Jan" <jrichards@ocad.ca>, W3C WAI-XTECH 
<wai-xtech@w3.org>
Date:   08/23/2010 09:43 AM
Subject:        Re: role="presentation" on an image
Sent by:        wai-xtech-request@w3.org



Choose the closest possible role that isn't "presentation" ;)

cheers,
David

On 23/08/10 10:38 AM, Steven Faulkner wrote: 
Hi Jan, 
I am thinking about situations where an image contains information that 
needs to be conveyed, but the fact that it is an image is not relevant. 
How can that be conveyed?
 
regards
stevef

On 23 August 2010 15:35, Richards, Jan <jrichards@ocad.ca> wrote:
Hi Steve,
 
The issue is really what to do with the conflicting semantics. 
Role=Presentation implies the image is decorative and can be ignored, 
while alt=”home page” implies the image is functional and should have alt 
text.
 
I suggest a heuristic that errs on the side of functional and disregards 
the role=Presentation if alt (or labelled-by or described-by) is present. 
 
Cheers,
Jan
 
-- 
(Mr) Jan Richards, M.Sc.
jrichards@ocad.ca | 416-977-6000 ext. 3957 | fax: 416-977-9844
Inclusive Design Research Centre (IDRC) | http://inclusivedesign.ca/

Faculty of Design | OCAD University
 
From: wai-xtech-request@w3.org [mailto:wai-xtech-request@w3.org] On Behalf 
Of Steven Faulkner
Sent: August 23, 2010 10:28 AM
To: David Bolter
Cc: W3C WAI-XTECH
Subject: Re: role="presentation" on an image
 
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




-- 
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 Thursday, 26 August 2010 13:59:51 GMT

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