mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
fix(a11y): switches, icon buttons, selects and number inputs in Admin Settings have names (#33145)
This commit is contained in:
16 files changed
+92
-10
No files matched your search
@@ -1278,6 +1278,7 @@
|
||||
<button
|
||||
class="self-center w-fit text-sm p-1.5 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
|
||||
type="button"
|
||||
aria-label={$i18n.t('More Options')}
|
||||
>
|
||||
<EllipsisHorizontal className="size-3.5" />
|
||||
</button>
|
||||
@@ -1291,6 +1292,7 @@
|
||||
>
|
||||
<Switch
|
||||
bind:state={model.is_active}
|
||||
ariaLabel={$i18n.t('Enabled')}
|
||||
on:change={async () => {
|
||||
toggleModelHandler(model);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user