add alt text to replies' avatars

This commit is contained in:
Ayo 2023-05-30 17:34:22 +02:00
parent 46233756de
commit 4b3b345254

View file

@ -111,7 +111,9 @@
row.append(cell);
const author = document.createElement("p");
author.className = "author-wrapper";
author.innerHTML = `<img class="reply-photo" src="${
author.innerHTML = `<img alt="Avatar for ${
reply.author.name
}" class="reply-photo" src="${
reply.author.photo
}" /> <span class="reply-name">${
reply.author.name