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: Steve Faulkner <faulkner.steve@gmail.com>
Date: Tue, 3 May 2011 14:33:58 +0100
Message-ID: <BANLkTim2xXwJNSvfN1_U9VFk8O2_UmKj5g@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: public-html-a11y@w3.org
hi leif,

>However, as sole content inside a link, it should probably be invalid
to use role=presentation.

my understanding is that it is invalid in HTML5
http://dev.w3.org/html5/spec/embedded-content-1.html#a-link-or-button-containing-nothing-but-the-image


regards
steve

On 3 May 2011 14:23, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>wrote:

> 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
>



-- 
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
Received on Tuesday, 3 May 2011 13:34:45 GMT

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