Interface PasswordInputTranslations

Messages displayed to the user indicating the state of the show/hide toggle.

interface PasswordInputTranslations {
    hidePassword: string;
    hidePasswordAriaLabel: string;
    passwordHiddenAnnouncement: string;
    passwordShownAnnouncement: string;
    showPassword: string;
    showPasswordAriaLabel: string;
}

Properties

hidePassword: string

Visible text of the button when the password is currently visible. Plain text only.

hidePasswordAriaLabel: string

aria-label of the button when the password is currently visible. Plain text only.

passwordHiddenAnnouncement: string

Screen reader announcement to make when the password has just been hidden. Plain text only.

passwordShownAnnouncement: string

Screen reader announcement to make when the password has just become visible. Plain text only.

showPassword: string

Visible text of the button when the password is currently hidden. Plain text only.

showPasswordAriaLabel: string

aria-label of the button when the password is currently hidden. Plain text only.