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

Colin Clark colinbdclark at gmail.com
Wed Jan 20 00:07:26 UTC 2010


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);


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