mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
aria-hidden and aria-label to enhance accessibility
This commit is contained in:
parent
74912a5383
commit
988fc3a72c
1 changed files with 3 additions and 1 deletions
|
|
@ -118,6 +118,8 @@
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
|
aria-hidden={models.length <= 1}
|
||||||
|
aria-label={$i18n.t('Get information on {{name}} in the UI', { name: models[modelIdx]?.name})}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
selectedModelIdx = modelIdx;
|
selectedModelIdx = modelIdx;
|
||||||
}}
|
}}
|
||||||
|
|
@ -129,7 +131,7 @@
|
||||||
? `/doge.png`
|
? `/doge.png`
|
||||||
: `${WEBUI_BASE_URL}/static/favicon.png`)}
|
: `${WEBUI_BASE_URL}/static/favicon.png`)}
|
||||||
class=" size-9 @sm:size-10 rounded-full border-[1px] border-gray-100 dark:border-none"
|
class=" size-9 @sm:size-10 rounded-full border-[1px] border-gray-100 dark:border-none"
|
||||||
alt="logo"
|
aria-hidden="true"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue