From 232a5adabdd2f6689e817097f1b0b0ae26f84891 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 26 Dec 2022 02:26:22 +0100 Subject: [PATCH] gather/tag_images.js: add image alt --- gatherer/assets/tag_images.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gatherer/assets/tag_images.js b/gatherer/assets/tag_images.js index d23ce87..0c68d2e 100644 --- a/gatherer/assets/tag_images.js +++ b/gatherer/assets/tag_images.js @@ -35,6 +35,7 @@ } currentImg = document.createElement("p"); currentImg.className = "image"; + currentImg.alt = "Preview image from dubious source"; currentImg.style.backgroundImage = "url('" + currentImage + "')"; currentImg.style.left = oldImg ? "100%" : "0"; imageContainer.appendChild(currentImg);