[Bug 12590] @role=presentation for IMG should also require that @title is empty

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12590

--- Comment #16 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-05-11 13:09:12 UTC ---
(In reply to comment #3)

> <img src="x" role="presentation" title="poot">

Please partly ignore my reply in comment #4. I was responding to what I think
you said rather than what is actually said. In this case, I did not realize
that you placed 'role=presentation' inside the image ... 

Correct response: I don't understand how that example is relevant to the issue.
Of course the AT should ignore @title - and anything else - inside the IMG if
the IMG has role=presentation, there is no doubt about that (provided we accept
what ARIA 1.0 specifies.)

The issue dealt with in this bug is whether @title should be ignored when the
alt="" is empty. If AT treats empty alt="" as a synonym for role="presentation"
- as you suggest and as the HTML5 spec suggests, then we force AT to ignore the
@title in cases such as this  one, where looking at the @title could have
helped creating a useful link text: 

<a href=l ><img src=foo alt="" title="Lorem ipsum" /></a>

(In reply to comment #14)

> It is not dispated that the mapping of role=presentation to alt="" has NOT been
> implemented in any browser yet, but it has been defined in HTML5.
> 
> so your results for JAWS are wholely expected.

I read your comment about JAWS as something you presented in support of the
HTML5 specification's claim that empty alt="" should be seens as synonymous
with role="presentation".  Given that you interpreted this bug as filed against
the HTML A11Y API Guidelines, it all became wrong.

Let it be clear: this bug is about the isssue that it is a bug of HTML5 to
treat empty @alt="" as a synonym for role="presentation". It is a bug because
it is not in line with WAI-ARIA 1.0's alternative text computation rules:
http://www.w3.org/TR/wai-aria/complete#textalternativecomputation

Also, if you disagree with WAI-ARIA 1.0, wanting it to treat empty alt="" as
equal to role="presentation", then you should file a bug against WAI-ARIA 1.0.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 11 May 2011 13:09:14 UTC