diff --git a/src/app/vault/generator.component.html b/src/app/vault/generator.component.html index b4d99fb15d..fad3a23167 100644 --- a/src/app/vault/generator.component.html +++ b/src/app/vault/generator.component.html @@ -221,6 +221,7 @@ (change)="savePasswordOptions()" [disabled]="enforcedPasswordPolicyOptions?.useUppercase" [(ngModel)]="passwordOptions.uppercase" + attr.aria-label="{{ 'uppercase' | i18n }}" /> </div> <div class="box-content-row box-content-row-checkbox" appBoxRow> @@ -231,6 +232,7 @@ (change)="savePasswordOptions()" [disabled]="enforcedPasswordPolicyOptions?.useLowercase" [(ngModel)]="passwordOptions.lowercase" + attr.aria-label="{{ 'lowercase' | i18n }}" /> </div> <div class="box-content-row box-content-row-checkbox" appBoxRow> @@ -241,6 +243,7 @@ (change)="savePasswordOptions()" [disabled]="enforcedPasswordPolicyOptions?.useNumbers" [(ngModel)]="passwordOptions.number" + attr.aria-label="{{ 'numbers' | i18n }}" /> </div> <div class="box-content-row box-content-row-checkbox" appBoxRow> @@ -251,6 +254,7 @@ (change)="savePasswordOptions()" [disabled]="enforcedPasswordPolicyOptions?.useSpecial" [(ngModel)]="passwordOptions.special" + attr.aria-label="{{ 'specialCharacters' | i18n }}" /> </div> </div> diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index e369557890..af873f0c75 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -400,6 +400,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" },