add alt tags
authorEugene Crosser <crosser@average.org>
Mon, 1 Sep 2008 20:36:39 +0000 (20:36 +0000)
committerEugene Crosser <crosser@average.org>
Mon, 1 Sep 2008 20:36:39 +0000 (20:36 +0000)
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').