mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35: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"
|
||||
>
|
||||
<button
|
||||
aria-hidden={models.length <= 1}
|
||||
aria-label={$i18n.t('Get information on {{name}} in the UI', { name: models[modelIdx]?.name})}
|
||||
on:click={() => {
|
||||
selectedModelIdx = modelIdx;
|
||||
}}
|
||||
|
|
@ -129,7 +131,7 @@
|
|||
? `/doge.png`
|
||||
: `${WEBUI_BASE_URL}/static/favicon.png`)}
|
||||
class=" size-9 @sm:size-10 rounded-full border-[1px] border-gray-100 dark:border-none"
|
||||
alt="logo"
|
||||
aria-hidden="true"
|
||||
draggable="false"
|
||||
/>
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue