add aria pressed to toggle visibility button, to show current state
This commit is contained in:
1 parent
53d044f8a2
commit
400c4c3d12
1 file changed
+1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user