Fix accessibility.
This commit is contained in:
parent
4bf882a389
commit
3fec600cba
|
@ -436,6 +436,7 @@ window.GalleryTheater = function() {
|
||||||
img = $("<img class='gallery-image gal-active'>");
|
img = $("<img class='gallery-image gal-active'>");
|
||||||
img.hide();
|
img.hide();
|
||||||
img.attr("src", currentPic.image.file.theater.url);
|
img.attr("src", currentPic.image.file.theater.url);
|
||||||
|
img.attr("alt", currentPic.image.alt_title);
|
||||||
imageContainer.append(img);
|
imageContainer.append(img);
|
||||||
img.one("load", function() {
|
img.one("load", function() {
|
||||||
one_load(img)
|
one_load(img)
|
||||||
|
|
Loading…
Reference in New Issue