Merge pull request #2233 from patrickhlauke/patrickhlauke-issue1985
Add clearer accessible names for password generator options (A-Z, a-z, 0-9, !@#$%^&*)
This commit is contained in:
commit
19c5b9fc73
|
@ -229,6 +229,18 @@
|
||||||
"length": {
|
"length": {
|
||||||
"message": "Length"
|
"message": "Length"
|
||||||
},
|
},
|
||||||
|
"uppercase": {
|
||||||
|
"message": "Uppercase (A-Z)"
|
||||||
|
},
|
||||||
|
"lowercase": {
|
||||||
|
"message": "Lowercase (a-z)"
|
||||||
|
},
|
||||||
|
"numbers": {
|
||||||
|
"message": "Numbers (0-9)"
|
||||||
|
},
|
||||||
|
"specialCharacters": {
|
||||||
|
"message": "Special Characters (!@#$%^&*)"
|
||||||
|
},
|
||||||
"numWords": {
|
"numWords": {
|
||||||
"message": "Number of Words"
|
"message": "Number of Words"
|
||||||
},
|
},
|
||||||
|
|
|
@ -86,22 +86,22 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
||||||
<label for="uppercase">A-Z</label>
|
<label for="uppercase">A-Z</label>
|
||||||
<input id="uppercase" type="checkbox" (change)="saveOptions()"
|
<input id="uppercase" type="checkbox" (change)="saveOptions()" attr.aria-label="{{'uppercase' | i18n}}"
|
||||||
[disabled]="enforcedPolicyOptions.useUppercase" [(ngModel)]="options.uppercase">
|
[disabled]="enforcedPolicyOptions.useUppercase" [(ngModel)]="options.uppercase">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
||||||
<label for="lowercase">a-z</label>
|
<label for="lowercase">a-z</label>
|
||||||
<input id="lowercase" type="checkbox" (change)="saveOptions()"
|
<input id="lowercase" type="checkbox" (change)="saveOptions()" attr.aria-label="{{'lowercase' | i18n}}"
|
||||||
[disabled]="enforcedPolicyOptions.useLowercase" [(ngModel)]="options.lowercase">
|
[disabled]="enforcedPolicyOptions.useLowercase" [(ngModel)]="options.lowercase">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
||||||
<label for="numbers">0-9</label>
|
<label for="numbers">0-9</label>
|
||||||
<input id="numbers" type="checkbox" (change)="saveOptions()"
|
<input id="numbers" type="checkbox" (change)="saveOptions()" attr.aria-label="{{'numbers' | i18n}}"
|
||||||
[disabled]="enforcedPolicyOptions.useNumbers" [(ngModel)]="options.number">
|
[disabled]="enforcedPolicyOptions.useNumbers" [(ngModel)]="options.number">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
||||||
<label for="special">!@#$%^&*</label>
|
<label for="special">!@#$%^&*</label>
|
||||||
<input id="special" type="checkbox" (change)="saveOptions()"
|
<input id="special" type="checkbox" (change)="saveOptions()" attr.aria-label="{{'specialCharacters' | i18n}}"
|
||||||
[disabled]="enforcedPolicyOptions.useSpecial" [(ngModel)]="options.special">
|
[disabled]="enforcedPolicyOptions.useSpecial" [(ngModel)]="options.special">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue