fix(a11y): three buttons' names include the text they show (#33593)

This commit is contained in:
G30 authored and GitHub committed 2026-11-03 07:52:39 +09:00
1 parent 2176bb7bd2
commit f773e057e2
3 files changed
+3 -4

No files matched your search

@@ -403,12 +403,12 @@
<td class="px-3 py-1 min-w-[5rem] w-20">
<button
class="text-xs font-normal leading-4 capitalize transition {roleClass(user.role)}"
aria-label={$i18n.t('Change User Role')}
on:click={() => {
selectedUser = user;
showEditUserModal = !showEditUserModal;
}}
>
<span class="sr-only">{$i18n.t('Change User Role')}</span>
{$i18n.t(user.role)}
</button>
</td>