From 3fec600cbadf93a6216a1692402786b5adc8cff6 Mon Sep 17 00:00:00 2001 From: bohung Date: Fri, 4 Nov 2022 16:04:51 +0800 Subject: [PATCH] Fix accessibility. --- app/assets/javascripts/theater.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/theater.js b/app/assets/javascripts/theater.js index 324f0bb..51ab98f 100644 --- a/app/assets/javascripts/theater.js +++ b/app/assets/javascripts/theater.js @@ -436,6 +436,7 @@ window.GalleryTheater = function() { img = $(""); img.hide(); img.attr("src", currentPic.image.file.theater.url); + img.attr("alt", currentPic.image.alt_title); imageContainer.append(img); img.one("load", function() { one_load(img)