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

Re: alt="" required for conformance on presentational images

From: Janina Sajka <janina@rednote.net>
Date: Thu, 12 May 2011 01:34:27 +0000
To: Richard Schwerdtfeger <schwer@us.ibm.com>
Cc: public-html-a11y@w3.org, jbrewer@w3.org, cyns@exchange.microsoft.com, faulkner.steve@gmail.com
Message-ID: <20110512013427.GZ27875@opera.rednote.net>
Richard Schwerdtfeger writes:
> 
> 
> 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.

OK. Preserving compatibility with HTML 4 is a good thing.

> However, what should be not conforming is the
> following:
> 
> <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?
> 
I say yes, file the bug. This is clearly illogical and should be
nonconformant.

Janina

> Rich
> 
> Rich Schwerdtfeger
> CTO Accessibility Software Group

-- 

Janina Sajka,	Phone:	+1.443.300.2200
		sip:janina@asterisk.rednote.net

Chair, Open Accessibility	janina@a11y.org	
Linux Foundation		http://a11y.org

Chair, Protocols & Formats
Web Accessibility Initiative	http://www.w3.org/wai/pf
World Wide Web Consortium (W3C)
Received on Thursday, 12 May 2011 01:36:15 GMT

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