fix(a11y): every window has a name for screen readers (#33412)

This commit is contained in:
G30 authored and GitHub committed 2026-10-31 04:39:32 +09:00
1 parent 2b1fb53f4d
commit f2a990f6da
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>