W3C home > Mailing lists > Public > public-html-bugzilla@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:32 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OuDAu-0005WL-Ez@jessica.w3.org>

--- 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 the QA contact for the bug.
Received on Friday, 10 September 2010 23:38:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:24 UTC