fix: update alt text
This commit is contained in:
parent
58e446d999
commit
50e7e9e200
@ -39,7 +39,7 @@
|
|||||||
{#if item && (item.avatar_url || item.icon)}
|
{#if item && (item.avatar_url || item.icon)}
|
||||||
<img tabindex={0} on:keyup={(event) => {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={icon_url} alt="Icon" />
|
<img tabindex={0} on:keyup={(event) => {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={icon_url} alt="Icon" />
|
||||||
{:else}
|
{:else}
|
||||||
<img class="rounded-circle avatar" src={default_avatar} alt="your system avatar (default)" />
|
<img class="rounded-circle avatar" src={default_avatar} alt="avatar (default)" />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<Modal isOpen={avatarOpen} toggle={toggleAvatarModal}>
|
<Modal isOpen={avatarOpen} toggle={toggleAvatarModal}>
|
||||||
|
Loading…
Reference in New Issue
Block a user