W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2010

[Bug 10481] Default role of <IMG> should be "img"

From: <bugzilla@jessica.w3.org>
Date: Fri, 10 Sep 2010 23:38:31 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OuDAt-0005Vu-Q5@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10481





--- Comment #34 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-09-10 23:38:31 ---
(In reply to comment #33)

> JAWS said: "This is a test" (NOTE: JAWS did not report the string as a graphic,

You must add aria-labelledby="id" as well. Jaws+Firefox works then, for me. If
there is no @aria-labelledby or @aria-describedby, then AT SHOULD, according to
ARIA 1.0, treat the element as textually empty. E.g. try this code (though
Jaws+Firefox don't seem to support aria-hidden):

<div role="img" aria-labelledby="a b"  ></div>
<p>Dummy text that should be presented <em>after</em> the image labels have
been presented.</p>
<p id="a" aria-hidden="true">Foo foo fo.</p>
<p id="b" aria-hidden="true" >Bar bar bar.</p>

-- 
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 Friday, 10 September 2010 23:38:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:14 UTC