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

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 10 May 2011 19:38:11 +0000
To: public-html-a11y@w3.org
Message-Id: <E1QJsl1-00025b-M2@jessica.w3.org>
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 on the CC list for the bug.
Received on Tuesday, 10 May 2011 19:38:13 GMT

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