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: Tue, 23 Mar 2010 22:58:24 +0000
To: public-html-a11y@w3.org
Message-Id: <E1NuD3I-000556-Eq@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9214





--- Comment #4 from Ian 'Hixie' Hickson <ian@hixie.ch>  2010-03-23 22:58:24 ---
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 may be wrong in assuming that the request is the above. While it is what
Maciej appears to assume the bug is requesting, it doesn't seem, to me, to
match the other comments made in this bug. However, I do not understand what
the other comments mean. The spec allows any role="" value to be specified when
on <img> elements, unless the alt="" value is empty, in which case it is
required to be role="presentation".)


-- 
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 Tuesday, 23 March 2010 22:58:25 GMT

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