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 03:11:08 +0000
To: public-html-a11y@w3.org
Message-Id: <E1NuGzs-0005YJ-Gt@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9214





--- Comment #12 from Maciej Stachowiak <mjs@apple.com>  2010-03-24 03:11:08 ---
(In reply to comment #11)
> > a point to consider:
> > role="presentation" on  <img> means the browser removes the <img> from
> > the accessible tree
> > 
> > alt="" is not removed by the browser, its left up to the assistive
> > tech to remove it from what it presents to the user.
> 
> That is incorrect. Per HTML5, alt="" does exactly the same thing as
> role=presentation. The former actually implies the latter.
> 

If the former implies the latter, it seems reasonable to let the latter imply
the former. Unless there's some specific harm from markup that says <img
role="presentation" src="foo.jpg"> without an alt attribute. (It could be
argued that just having more than one way to do it is harmful, but there's
other things that there is more than one way to do.)


-- 
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 03:11:09 GMT

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