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

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 the QA contact for the bug.

Received on Friday, 10 September 2010 23:38:33 UTC