W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2013

Aria-labelledby for non-text content: examples on WIKI page

From: Sailesh Panchang <spanchang02@yahoo.com>
Date: Sat, 14 Sep 2013 13:20:30 -0700 (PDT)
Message-ID: <1379190030.9262.YahooMailBasic@web125002.mail.ne1.yahoo.com>
To: 'WCAG' <w3c-wai-gl@w3.org>
The user agent remarks need to be updated:
Aria-labelledby for non text content:
IE 9 and JAWS 12/ 13 / 14:
Supports example 1. Reads the aria-labelledby  text for the image in example 1.
Firefox and JAWS 13 / 14:
Supports example 1. Reads the aria-labelledby  text for the image in example 1.
JAWS 12: does not support it; reads image name.

JAWS 12 / 13 / 14: does not support example 2.
Ignores images marked up with null alt and the div with role=img
===

NVDA 2013.2  (with Firefox or IE9): does not recognize image(s) in example 1 or 2  and does not read aria-labelledby text.  
===
The examples:

Example 1
<p><img src="sunflowers.jpg" aria-labelledby="flower_id">

...
<span id="flower_id">Van Gogh's oil painting of sunflowers</span> hangs in Amsterdam's Van 
Gogh museum.</p>

Example 2:
<div role="img" aria-labelledby="star_id">
<img src="fullstar.png" alt=""/>
<img src="fullstar.png" alt=""/>
<img src="fullstar.png" alt=""/>
<img src="fullstar.png" alt=""/>
<img src="emptystar.png" alt=""/>
</div>


Regards,
Sailesh
Received on Saturday, 14 September 2013 20:20:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:32:51 UTC