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

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 the QA contact for the bug.

Received on Wednesday, 24 March 2010 00:22:36 UTC