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

[Bug 9214] Allow role="presentation" on img

From: <bugzilla@wiggum.w3.org>
Date: Wed, 24 Mar 2010 00:22:32 +0000
To: public-html-a11y@w3.org
Message-Id: <E1NuEMi-0006dG-Ei@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9214





--- Comment #5 from Maciej Stachowiak <mjs@apple.com>  2010-03-24 00:22:31 ---
(In reply to comment #4)
> Assuming the request is:
> 
>    "An <img> element with role="presentation" should be allowed to not have alt
> specified."
> 
> ...then the request doesn't make sense to me. If we know the image is
> presentational, surely we equally know that the empty string is appropriate alt
> text, and it would be inappropriate therefore to annotate the image as missing
> required alternative text.
> 
> Why would we want to allow authors to avoid giving alternative text for images
> that they know are presentational? Could you give an example of where
> role=presentation would be appropriate but alt="" would not be?

I think the premise of the bug is not that alt="" would be inappropriate, but
rather that it would be redundant. Empty alt and role="presentation" will have
essentially the same effect in non-visual media, at least in modern UAs. Or to
put it another way, it does not seem like there is harm in allowing
role="presentation" to appear without alt, at least none that is obvious to me.

(I don't personally feel strongly about this issue, I am just trying to do my
best to clarify the intent.)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 24 March 2010 00:22:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:06 GMT