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: Fri, 10 Sep 2010 18:28:31 +0000
To: public-html-a11y@w3.org
Message-Id: <E1Ou8Kt-000109-5k@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10481





--- Comment #31 from steve faulkner <faulkner.steve@gmail.com>  2010-09-10 18:28:26 ---
(In reply to comment #30)
> (In reply to comment #29)
> > (In reply to comment #28)
> > > (In reply to comment #25)
> > my understanding is that voiceover (for example) relies solely on information
> > provided through the Mac accessibility API and does not use the HTML DOM, while
> > windows screen readers use both.
> The Jaws behavour  perhaps  implies that Jaws maps @role="img" to <img> rather
> than mapping <img> to @role="img". And if that is so, then Jaws - in a wider
> perspective - seems compatible with Ian's current definition of <img> as having
> no default role. It is simply up to the AT to treat it as an image, regardless
> of role="img" ...  
> Does Jaws announce the image/label, if the @alt is empty, with no @role
> attribute but thre is aria-labelledby is present? You said that JAWS sees
> alt="" as a flag, so I suppose it doesn't. 
> Example: <img aria-labelledby="label-element-somewhere-on-the-page"
> src="img.gif" alt="" />
> But then, what if you configure JAWS to not treat alt="" as a flag, will it
> _then_ present the label?

Hi leif, 

i don't understand how you come to the conclusion that

"The Jaws behavour  perhaps  implies that Jaws maps @role="img" to <img> rather
> than mapping <img> to @role="img". "

In MSAA at least if an 
<img> has an alt="" its role is graphic and its name=""
<img> has no alt its role is graphic and its name=none[false]
<img> has an alt="text" its role is graphic and its name="text"

so MSAA provides a differentiation between them

-- 
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 Friday, 10 September 2010 18:28:32 UTC

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