don't index alt for collages from 0

This commit is contained in:
2026-01-13 20:01:15 -08:00
parent adce8d8bef
commit 34827d84a1

View File

@ -10,7 +10,7 @@ const makeArtistImg = function(artistImg) {
else {
let fullAlt = `a ${artistImg.alt.length} image collage.`
for (let i = 0; i < artistImg.alt.length; i++)
fullAlt += ` ${i}: ${artistImg.alt[i]}`
fullAlt += ` ${i + 1}: ${artistImg.alt[i]}`
img.alt = fullAlt;
}