mirror of
https://github.com/open-webui/open-webui
synced 2025-06-25 09:47:41 +00:00
add aria pressed to toggle visibility button, to show current state
This commit is contained in:
parent
53d044f8a2
commit
400c4c3d12
@ -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 New Issue
Block a user