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

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 UTC