mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): the collapsed sidebar's buttons and links aren't nested inside another button (#32930)
This commit is contained in:
parent
855b003b86
commit
b1e10f5306
1 changed files with 3 additions and 2 deletions
|
|
@ -1073,8 +1073,9 @@
|
|||
role="navigation"
|
||||
aria-label={$i18n.t('Chat history')}
|
||||
>
|
||||
<button
|
||||
<div
|
||||
class="flex flex-col flex-1 {isWindows ? 'cursor-pointer' : 'cursor-[e-resize]'}"
|
||||
role="presentation"
|
||||
on:click={async () => {
|
||||
showSidebar.set(!$showSidebar);
|
||||
await tick();
|
||||
|
|
@ -1201,7 +1202,7 @@
|
|||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue