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

Re: [Bug 12587] AT shouldn't see img@alt="" and img@role=presentation as 100% synonyms

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Tue, 3 May 2011 15:23:59 +0200
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: public-html-a11y@w3.org
Message-ID: <20110503152359956616.7716a132@xn--mlform-iua.no>
Leif Halvard Silli, Tue, 3 May 2011 15:10:51 +0200:
> As I said in the poll: before deciding whether @alt can be empty of 
> non-empty, AT as well as author should calculate the role of the IMG. 
> As expressed my my 'validity map' [1], the valid value of @alt should 
> depend on the outcome of that calculation, rather than the opposite way 
> - that the role of the img depends on @alt. Only if *nothing else* 
> affects the role, should the @alt affect the role of the IMG.
  [...]
> [1] http://lists.w3.org/Archives/Public/public-html/2011Mar/0750

W.r.t. validity map, then unlike what I say there, non-empty @alt in 
combination with role=presentation should IMO be valid. This would be 
in line with thoughts I have heard from you that ARIA is for making 
content accessible and authors should not be prevented from making 
content accessible with ARIA.

However, as sole content inside a link, it should probably be invalid 
to use role=presentation.
-- 
Leif H Silli
Received on Tuesday, 3 May 2011 13:24:29 GMT

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