add alt text to replies' avatars
This commit is contained in:
parent
46233756de
commit
4b3b345254
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@
|
||||||
row.append(cell);
|
row.append(cell);
|
||||||
const author = document.createElement("p");
|
const author = document.createElement("p");
|
||||||
author.className = "author-wrapper";
|
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
|
reply.author.photo
|
||||||
}" /> <span class="reply-name">${
|
}" /> <span class="reply-name">${
|
||||||
reply.author.name
|
reply.author.name
|
||||||
|
|
Loading…
Reference in a new issue