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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10481





--- Comment #17 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-09-09 10:50:30 ---
(In reply to comment #13)
> What differences will there be in an AT user's experience when encountering
> <img role=note> as opposed to when encountering a <img role=img>?

Testing in VoiceOver on Mac OS X 10.5:

A role="note" element is expected to have text or element children. Thus if you
have 
<p role="note">Foo</p>, 
then VoiceOVer reads "Foo".

Wheras for an <img role="note" alt="Foo">, then there are no text or element
children, and thus VoiceOver just stops reading.

Whereas if you have <img alt="Foo."> or <img role="img" alt="Foo.">, then "Foo"
is read.

-- 
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 Thursday, 9 September 2010 10:50:32 UTC