fix(a11y): icon buttons named only by a tooltip have names (#33454)

This commit is contained in:
G30 authored and GitHub committed 2026-10-31 17:37:16 +09:00
1 parent 68df5123ff
commit c4daef0c94
21 files changed
+76 -1

No files matched your search

@@ -193,7 +193,13 @@
<div class="flex items-center justify-between">
<div class="text-sm font-normal">{providerLabel || provider}</div>
<Tooltip content={$i18n.t('Refresh')}>
<button class={iconButtonClass} type="button" on:click={refreshModels} disabled={loading}>
<button
aria-label={$i18n.t('Refresh')}
class={iconButtonClass}
type="button"
on:click={refreshModels}
disabled={loading}
>
<Refresh className="size-4" />
</button>
</Tooltip>
@@ -209,6 +215,7 @@
/>
<Tooltip content={$i18n.t('Download Model')}>
<button
aria-label={$i18n.t('Download Model')}
class={iconButtonClass}
type="submit"
disabled={actionModel !== '' || modelRef.trim() === ''}