add aria label, make alt text translatable
This commit is contained in:
1 parent
30218a6db0
commit
77babb6b63
1 file changed
+2
-1
@@ -1041,7 +1041,8 @@
|
|||||||
<img
|
<img
|
||||||
src={$user?.profile_image_url}
|
src={$user?.profile_image_url}
|
||||||
class=" max-w-[30px] object-cover rounded-full"
|
class=" max-w-[30px] object-cover rounded-full"
|
||||||
alt="User profile"
|
alt={$i18n.t('Open User Profile Menu')}
|
||||||
|
aria-label={$i18n.t('Open User Profile Menu')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class=" self-center font-medium">{$user?.name}</div>
|
<div class=" self-center font-medium">{$user?.name}</div>
|
||||||
|
|||||||
Reference in new issue
Block a user