W3C home > Mailing lists > Public > public-html-a11y@w3.org > May 2011

alt="" required for conformance on presentational images

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Tue, 10 May 2011 16:58:00 -0500
To: public-html-a11y@w3.org, jbrewer@w3.org
Cc: cyns@exchange.microsoft.com, faulkner.steve@gmail.com
Message-ID: <OF828675BD.99C89EF4-ON8625788C.00726BC8-8625788C.0078AAD9@us.ibm.com>

So, Cynthia and I discussed this

Although neither of us think that role="presentation" is not the equivalent
of alt="" we are still left with the backward compatibility issue with
alt="".  Today's authors are required to use alt="" for HTML 4.

So, we can live with role="presentation" on an image requiring alt to be
supplied even though it requires additional (and I think unnecessary) work
required by the author. However, what should be not conforming is the

<img alt="foo" role="presentation">

The reason being that role="presentation" will remove img from the
accessibility tree pre the ARIA specification. If role="presentation" is
applied to an image it MUST have alt="".   We will flag this as an error in
the Open Ajax Alliance rule sets. Do we want to create a bug against last
call to fix this?


Rich Schwerdtfeger
CTO Accessibility Software Group
Received on Tuesday, 10 May 2011 21:58:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:56 UTC