[Infusion-users] Alt-text missing in the Image Reorderer?

Colin Clark colinbdclark at gmail.com
Wed Jan 20 00:14:56 UTC 2010

Hi Harris,

Actually, I think I spoke too soon. This change was indeed intentional, related to improving the ARIA support for Image Reorderer. If I remember correctly, the alt text is cleared to ensure that the assistive technology doesn't read the information twice. The issue is documented here:


I've cc'ed Joseph and Antranig on this email, since they worked on this issue originally and tested closely with a few screen readers in the process. Perhaps they can confirm that this is the rationale for removing the image's alt text.


On 2010-01-19, at 7:07 PM, Colin Clark wrote:

> Harris,
> Thanks for pointing this one out. It's a blatantly awful bug--a regression in the Image Reorderer code that snuck in shortly after the Infusion 1.0 release. We'll get a fix out as soon as we can.
> In the meantime, you can remove the offending code at line 162 of ImageReorderer.js or work around the problem in your own code by reimplementing fluid.reorderImages.addAriaRoles() like this:
> var oldAddAriaRoles = fluid.reorderImages.addAriaRoles;
> fluid.reorderImages.addAriaRoles = function (imageTitle, cell) {
>    var altText = $(cell).attr("alt");
>    oldAddAriaRoles(imageTitle, cell);
>    cell.attr(alt, altText);
> };
> Colin
> On 2010-01-19, at 3:39 PM, Harris Wong wrote:
>> I noticed the images' alt-text are missing from the DOM tree after implementing the Image Reorderer.  I have reproduced this on your demo site at, http://fluidproject.org/releases/1.1.2/demos/reorderer/imageReorderer/demo.html
>> Code: <img src="../../../../components/reorderer/images/Dragonfruit.jpg" alt="Dragonfruit thumbnail" />
>> DOM: <img alt="" src="../../../../components/reorderer/images/Dragonfruit.jpg" role="presentation">
>> I am using Firefox 3.5.7 on Windows XP Pro Service Pack 3.

Colin Clark
Technical Lead, Fluid Project

More information about the Infusion-users mailing list