]> www.average.org Git - mkgallery.git/blobdiff - include/show.js
add alt tags
[mkgallery.git] / include / show.js
index b5b00da7e39893b2b9df7b3fb32abf97c25f6bda..f7f555ec02fcc94673fcb681957bbc1f55117c6f 100644 (file)
@@ -72,9 +72,11 @@ var Show = new Class({
 
                this.updatecoords();
                this.prevdisplay = new Element('img').
+                       setProperty('alt', 'Current Image').
                        setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.ondisplay = new Element('img').
+                       setProperty('alt', 'Current Image').
                        setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.loadingdiv = new Element('div').