mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +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
|
||||
class={showButtonClassName}
|
||||
type="button"
|
||||
aria-pressed={show}
|
||||
aria-label={$i18n.t('Make password visible in the user interface')}
|
||||
on:click={(e) => {
|
||||
e.preventDefault();
|
||||
|
|
|
|||
Loading…
Reference in a new issue