mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
fix(a11y): three buttons' names include the text they show (#33593)
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user