fix(a11y): the Notes and folder tag button is named by the text it shows (#35605)

* fix(a11y): the Notes and folder tag button's name includes the text it shows

* fix(a11y): start the tag button's name with the text it shows
This commit is contained in:
G30 authored and GitHub committed 2026-12-04 07:40:58 +04:00
1 parent f1d7fc0979
commit 5ceca64681
1 file changed
+1 -1
@@ -49,7 +49,6 @@
<button
type="button"
class="flex min-w-0 items-center gap-1 rounded-full"
aria-label={$i18n.t('Edit tags for {{title}}', { title: chat.title })}
title={assigned.length ? undefined : $i18n.t('Add tags')}
>
{@render pills()}
@@ -61,6 +60,7 @@
<Plus className="size-2.5" strokeWidth="2" />{$i18n.t('Tag')}
</span>
{/if}
<span class="sr-only">{$i18n.t('Edit tags for {{title}}', { title: chat.title })}</span>
</button>
<DropdownMenu slot="content" className="w-52 text-base-700 dark:text-base-200">