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: Thu, 09 Sep 2010 10:50:31 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Otei7-0008Ks-7E@jessica.w3.org>

--- 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
<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 the QA contact for the bug.
Received on Thursday, 9 September 2010 10:50:33 UTC

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