Profile redesign: Add alt to avatar and header (#38532)

This commit is contained in:
Echo authored and GitHub committed 2026-04-02 14:47:11 +00:00
1 parent f90f1e3b75
commit 59299c69ff
5 files changed
+12 -3

No files matched your search

@@ -72,7 +72,7 @@ export const AccountHeader: React.FC<{
modalType: 'IMAGE',
modalProps: {
src: account.avatar,
alt: '',
alt: account.avatar_description,
},
}),
);
@@ -120,7 +120,7 @@ export const AccountHeader: React.FC<{
{!suspendedOrHidden && (
<img
src={autoPlayGif ? account.header : account.header_static}
alt=''
alt={account.header_description}
className='parallax'
/>
)}
@@ -147,6 +147,7 @@ export const AccountHeader: React.FC<{
>
<Avatar
account={suspendedOrHidden ? undefined : account}
alt={account.avatar_description}
size={80}
/>
</a>