Add alt tag to avatars. Fixes #6569

pull/6578/head^2
Daniel Supernault 1 month ago
parent ecb04f3ab3
commit 5e79dbd332
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

File diff suppressed because one or more lines are too long

@ -4,7 +4,7 @@
"/js/components.js": "/js/components.js?id=6e1d1eba5b3a8d160ccd2b7203f29deb",
"/js/discover.js": "/js/discover.js?id=952469fb673a19bf07f5640d8c31d6a8",
"/js/profile.js": "/js/profile.js?id=b11d67911aecc9c55a5c6d3138bc5c80",
"/js/status.js": "/js/status.js?id=1e860329ca7143f91a6c5fb807ac9744",
"/js/status.js": "/js/status.js?id=995625b87f6d85d661bdbb680af468a2",
"/js/timeline.js": "/js/timeline.js?id=d9407d6ced550261b583f0bba2c2676e",
"/js/compose.js": "/js/compose.js?id=026f9f5ad4c97335697df06eb89458fc",
"/js/compose-classic.js": "/js/compose-classic.js?id=b335bd735825156da46bd75c881855fc",

@ -16,7 +16,7 @@
<div class="d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100">
<div class="d-flex">
<div class="status-avatar mr-2" @click="redirect(statusProfileUrl)">
<img :src="statusAvatar" width="24px" height="24px" style="border-radius:12px;" class="cursor-pointer">
<img :src="statusAvatar" width="24px" height="24px" style="border-radius:12px;" class="cursor-pointer" :alt="`${statusUsername}'s avatar`">
</div>
<div class="username">
<span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span>
@ -82,7 +82,7 @@
<div class="d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white">
<div class="d-flex align-items-center status-username text-truncate">
<div class="status-avatar mr-2" @click="redirect(statusProfileUrl)">
<img :src="statusAvatar" width="24px" height="24px" style="border-radius:12px;" class="cursor-pointer">
<img :src="statusAvatar" width="24px" height="24px" style="border-radius:12px;" class="cursor-pointer" :alt="`${statusUsername}'s avatar`">
</div>
<div class="username">
<span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span>

Loading…
Cancel
Save