Sava: no ALT Attributes in Gallery

The galleries created in Sava do not produce any alt text on the images. I dont see anywhere in Sava where you can insert alt text for the images so you will need to edit the /default/includes/display_objects/gallery/index.cfm file and add them.

You can add an empty alt attributes to the IMG elements there however that would means the page will still not validate so the best option is to add the image summery and strip out the HTML. This works ok if you dont have a long summery for the image.


alt="#REReplaceNoCase(rsSection.summary,'<[^>]*>
','','ALL')#"

This is something that will need to be address in Sava as with the latest accessibility laws alt text has never been some important.


Comments
 

About Me

Glyn Jackson, 26 years old, MD and youngest member of a web development firm based in Staffordshire called Newebia Ltd. Academic background in BSc Information System & Internet Commerce. Online marketing expert (EE Ranked) and .NET developer. Has been using ColdFusion for just 3 years but loves it. "I am not a veteran in ColdFusion but I do work on challenging projects which help me learn more about ColdFusion and if I can contribute to the community in anyway then, it's all good!"

Recommends

  • ColdFusion