mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
fix(a11y): every window has a name for screen readers (#33412)
This commit is contained in:
56 files changed
+163
-55
No files matched your search
@@ -30,7 +30,12 @@
|
||||
export let onChange: (grants: AccessGrant[]) => void | Promise<void> = () => {};
|
||||
</script>
|
||||
|
||||
<Modal size="sm" bind:show className="rounded-2xl bg-white dark:bg-gray-900">
|
||||
<Modal
|
||||
ariaLabel={labels.title ?? $i18n.t('Access Control')}
|
||||
size="sm"
|
||||
bind:show
|
||||
className="rounded-2xl bg-white dark:bg-gray-900"
|
||||
>
|
||||
<div>
|
||||
<div class="flex justify-between dark:text-gray-100 px-4 pt-3 pb-2">
|
||||
<div class="text-sm font-medium self-center">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal size="sm" bind:show>
|
||||
<Modal ariaLabel={$i18n.t('Add Access')} size="sm" bind:show>
|
||||
<div>
|
||||
<div class="flex justify-between dark:text-gray-100 px-4 pt-3 mb-1">
|
||||
<div class="self-center text-sm font-medium">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
export let manifest = {};
|
||||
</script>
|
||||
|
||||
<Modal size="sm" bind:show>
|
||||
<Modal ariaLabel={$i18n.t('Show your support!')} size="sm" bind:show>
|
||||
<div>
|
||||
<div class=" flex justify-between dark:text-gray-300 px-4 pt-3 pb-1">
|
||||
<div class=" text-sm font-medium self-center">{$i18n.t('Show your support!')}</div>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal size="sm" bind:show>
|
||||
<Modal ariaLabel={$i18n.t('Valves')} size="sm" bind:show>
|
||||
<div>
|
||||
<div class="flex justify-between dark:text-gray-100 px-4 pt-3 pb-1">
|
||||
<div class="self-center text-sm font-medium">{$i18n.t('Valves')}</div>
|
||||
|
||||
Reference in new issue
Block a user