Skip to content

Commit

Permalink
fix: (CXSPA-935) - Aria-pressed for password visibility toggle (#19004)
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Estrada <[email protected]>
  • Loading branch information
Pio-Bar and developpeurweb authored Jul 11, 2024
1 parent 166522a commit 6645861
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
type="button"
(click)="toggle()"
[attr.aria-label]="state.ariaLabel | cxTranslate"
[attr.aria-pressed]="state.inputType === showState.inputType"
>
<span aria-hidden="true">
<cx-icon [type]="state.icon"></cx-icon>
Expand Down

0 comments on commit 6645861

Please sign in to comment.