mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-18 15:25:20 +00:00
add aria pressed to toggle visibility button, to show current state
This commit is contained in:
parent
53d044f8a2
commit
400c4c3d12
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
||||||
<button
|
<button
|
||||||
class={showButtonClassName}
|
class={showButtonClassName}
|
||||||
type="button"
|
type="button"
|
||||||
|
aria-pressed={show}
|
||||||
aria-label={$i18n.t('Make password visible in the user interface')}
|
aria-label={$i18n.t('Make password visible in the user interface')}
|
||||||
on:click={(e) => {
|
on:click={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue