[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 #10 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-05-10 19:38:11 UTC ---
(In reply to comment #5)

So, I tested JAWS 12. 

SUMMARY: Except in the third test below, JAWS does *not* implement that empty
alt="" equals role="presentation".

= Tests and test results. =

== 1st part: pure image tests==

<!--empty alt-->
<img src=i alt="" aria-label="Lorem. " title="Ipsum.">
JAWS: doesn't present img to user, despite the @aria-label, which it -
according to ARIA text alternative computation rules, should have read.

<!--whitespace in alt-->
<img src=i alt="      " title="Ipsum.">
JAWS: doesn't present img to user, despite that the @alt is filled with
white-space and thus is non-empty.

<!--whitespace in alt + aria-label -->
<img src=i alt="       " aria-label="Lorem." title="Ipsum.">
JAWS: reads the @aria-label. So in this, single case, the non-empty @alt is
interpreted equal to role=presentation.


==2nd part: img inside anchor element==

<!--empty alt-->
<a href=l><img src=i alt=""     title="Lorem Ipsum."></a>
JAWS: despite the empty @alt, it reads the @title as the link text. (It says
"link graphic: text".)


<!--whitespace in alt-->
<a href=l><img src=i alt="        " title="Lorem Ipsum."></a>
JAWS: doesn't present the link and doesn't present the img. Total failure, in
my view.

<!--whitespace in alt + aria-label -->
<a href=l><img src=i alt="       " aria-label="Lorem" title="Ipsum."></a>
JAWS: The aria-label is read as the link text. (It says "link graphic: text")

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

Received on Tuesday, 10 May 2011 19:38:15 UTC