1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

Add aria-pressed to all eye/toggle visibility buttons (#1443)

* Add `aria-pressed` to all eye/toggle visibility buttons

Closes #1442

* Correct custom field visibility toggle `aria-pressed` value
This commit is contained in:
Patrick H. Lauke
2022-03-27 21:42:47 +01:00
committed by GitHub
parent 75af5b94d4
commit 4ddeff2eee
11 changed files with 18 additions and 0 deletions

View File

@@ -164,6 +164,7 @@
appBlurClick
role="button"
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
[attr.aria-pressed]="showPassword"
(click)="togglePasswordVisible()"
[disabled]="disableSend"
>