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: Thu, 09 Sep 2010 10:50:30 +0000
To: public-html-a11y@w3.org
Message-Id: <E1Otei6-0008Ka-Mi@jessica.w3.org>
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

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