mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): shortcut notes on the Keyboard tab can be reached with Tab and are read out (#33160)
This commit is contained in:
parent
9a0d7dd65e
commit
d61bdfb791
1 changed files with 6 additions and 2 deletions
|
|
@ -122,9 +122,13 @@
|
|||
>
|
||||
{#if shortcut.tooltip}
|
||||
<Tooltip content={$i18n.t(shortcut.tooltip)}>
|
||||
<span class="inline-flex max-w-full items-baseline gap-1">
|
||||
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
|
||||
<span class="inline-flex max-w-full items-baseline gap-1" tabindex="0">
|
||||
<span class="truncate whitespace-pre-line">{shortcut.name($i18n.t)}</span>
|
||||
<span class="text-[0.625rem] text-gray-400 dark:text-gray-600">*</span>
|
||||
<span class="text-[0.625rem] text-gray-400 dark:text-gray-600" aria-hidden="true"
|
||||
>*</span
|
||||
>
|
||||
<span class="sr-only">{$i18n.t(shortcut.tooltip)}</span>
|
||||
</span>
|
||||
</Tooltip>
|
||||
{:else}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue