diff --git a/src/app/tools/generator.component.html b/src/app/tools/generator.component.html index e73ab37507..935e07dac9 100644 --- a/src/app/tools/generator.component.html +++ b/src/app/tools/generator.component.html @@ -161,6 +161,7 @@ (change)="savePasswordOptions()" [(ngModel)]="passwordOptions.uppercase" [disabled]="enforcedPasswordPolicyOptions?.useUppercase" + attr.aria-label="{{ 'uppercase' | i18n }}" /> @@ -172,6 +173,7 @@ (change)="savePasswordOptions()" [(ngModel)]="passwordOptions.lowercase" [disabled]="enforcedPasswordPolicyOptions?.useLowercase" + attr.aria-label="{{ 'lowercase' | i18n }}" /> @@ -183,6 +185,7 @@ (change)="savePasswordOptions()" [(ngModel)]="passwordOptions.number" [disabled]="enforcedPasswordPolicyOptions?.useNumbers" + attr.aria-label="{{ 'numbers' | i18n }}" /> @@ -194,6 +197,7 @@ (change)="savePasswordOptions()" [(ngModel)]="passwordOptions.special" [disabled]="enforcedPasswordPolicyOptions?.useSpecial" + attr.aria-label="{{ 'specialCharacters' | i18n }}" /> diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index ab8594d2b4..2dca55ab1c 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -891,6 +891,18 @@ "length": { "message": "Length" }, + "uppercase": { + "message": "Uppercase (A-Z)" + }, + "lowercase": { + "message": "Lowercase (a-z)" + }, + "numbers": { + "message": "Numbers (0-9)" + }, + "specialCharacters": { + "message": "Special Characters (!@#$%^&*)" + }, "numWords": { "message": "Number of Words" },