Merge pull request #15402 from itk-dev/feature/aria-hide-button-and-img

Feat: aria hide button and img
This commit is contained in:
Tim Jaeryang Baek 2025-07-01 15:18:21 +04:00 committed by GitHub
commit af9d264405
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>