mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): the Resize panel handle tells screen readers the panel's width (#33117)
This commit is contained in:
parent
5372577430
commit
30d0206e71
1 changed files with 6 additions and 0 deletions
|
|
@ -149,6 +149,9 @@
|
|||
tabindex="0"
|
||||
aria-label={$i18n.t('Resize panel')}
|
||||
aria-orientation="vertical"
|
||||
aria-valuenow={width}
|
||||
aria-valuemin={minWidth}
|
||||
aria-valuemax={maxWidth ?? undefined}
|
||||
>
|
||||
<span
|
||||
class="absolute -left-1.5 -right-1.5 -top-0 -bottom-0 z-20 cursor-col-resize bg-transparent"
|
||||
|
|
@ -172,6 +175,9 @@
|
|||
tabindex="0"
|
||||
aria-label={$i18n.t('Resize panel')}
|
||||
aria-orientation="vertical"
|
||||
aria-valuenow={width}
|
||||
aria-valuemin={minWidth}
|
||||
aria-valuemax={maxWidth ?? undefined}
|
||||
>
|
||||
<span
|
||||
class="absolute -left-1.5 -right-1.5 -top-0 -bottom-0 z-20 cursor-col-resize bg-transparent"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue