Skip to content

Commit 678b32e

Browse files
committed
Add more accessible names to the console
1 parent 8987fd3 commit 678b32e

17 files changed

+55
-21
lines changed

console-webapp/src/app/billingInfo/billingInfo.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ <h1 class="mat-headline-4">Billing Info</h1>
55
<div class="console-app__billing-subhead">
66
Billing records and information
77
</div>
8-
<a class="text-l" href="{{ driveFolderUrl() }}" target="_blank"
8+
<a
9+
class="text-l"
10+
href="{{ driveFolderUrl() }}"
11+
target="_blank"
12+
aria-label="View billing records on Google Drive"
913
>View on Google Drive</a
1014
>
1115
</div>
1216
<div>
13-
<img src="./assets/billing.png" />
17+
<img src="./assets/billing.png" alt="Generic billing image" />
1418
</div>
1519
</div>
1620
</app-selected-registrar-wrapper>

console-webapp/src/app/domains/domainList.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ <h1>No domains found</h1>
2525
} @else {
2626
<mat-menu #actions="matMenu">
2727
<ng-template matMenuContent let-domainName="domainName">
28-
<button mat-menu-item (click)="openRegistryLock(domainName)">
28+
<button
29+
mat-menu-item
30+
(click)="openRegistryLock(domainName)"
31+
aria-label="Access registry lock for domain"
32+
>
2933
<mat-icon>key</mat-icon>
3034
<span>Registry Lock</span>
3135
</button>

console-webapp/src/app/domains/registryLock.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ <h1>Unlock the domain {{ domainListService.selectedDomain }}</h1>
4949
color="primary"
5050
type="submit"
5151
[disabled]="!unlockDomain.valid"
52+
aria-label="Submit domain unlock request"
5253
>
5354
Save
5455
</button>
@@ -73,6 +74,7 @@ <h1>Lock the domain {{ domainListService.selectedDomain }}</h1>
7374
color="primary"
7475
type="submit"
7576
[disabled]="!lockDomain.valid"
77+
aria-label="Submit domain lock request"
7678
>
7779
Save
7880
</button>

console-webapp/src/app/header/header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<mat-toolbar>
33
<button
44
mat-icon-button
5-
aria-label="Open menu"
5+
aria-label="Open navigation menu"
66
(click)="toggleNavPane()"
77
*ngIf="breakpointObserver.isMobileView()"
88
class="console-app__menu-btn"

console-webapp/src/app/ote/newOte.component.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ <h1>Generated Successfully</h1>
3030
>
3131
</mat-form-field>
3232
</p>
33-
<button mat-flat-button color="primary" type="submit">Save</button>
33+
<button
34+
mat-flat-button
35+
color="primary"
36+
type="submit"
37+
aria-label="Submit new OT&E account"
38+
>
39+
Save
40+
</button>
3441
</form>
3542
}
3643
</div>

console-webapp/src/app/registrar/newRegistrar.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ <h2>Contact Info</h2>
175175
mat-flat-button
176176
color="primary"
177177
type="submit"
178+
aria-label="Submit new registrar request"
178179
>
179180
Save
180181
</button>

console-webapp/src/app/registrar/registrarDetails.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1 class="mat-headline-4">Registrars</h1>
1616
*ngIf="oteButtonVisible"
1717
mat-stroked-button
1818
(click)="checkOteStatus()"
19-
aria-label="Check OT&E account"
19+
aria-label="Check OT&E account status"
2020
[elementId]="getElementIdForOteBlock()"
2121
>
2222
Check OT&E Status

console-webapp/src/app/resources/resources.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ <h1 class="mat-headline-4">Resources</h1>
1111
>
1212
</div>
1313
<div>
14-
<img src="./assets/resources.png" />
14+
<img src="./assets/resources.png" alt="Generic resources image" />
1515
</div>
1616
</div>

console-webapp/src/app/settings/contact/contactDetails.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ <h1>WHOIS Preferences</h1>
128128
mat-flat-button
129129
color="primary"
130130
type="submit"
131+
aria-label="Save contact updates"
131132
>
132133
Save
133134
</button>

console-webapp/src/app/settings/security/securityEdit.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>IP Allowlist</h1>
2323
<button
2424
matSuffix
2525
mat-icon-button
26-
aria-label="Remove"
26+
[attr.aria-label]="'Remove IP entry ' + ip.value"
2727
(click)="removeIpEntry(ip)"
2828
[disabled]="isUpdating"
2929
>
@@ -36,6 +36,7 @@ <h1>IP Allowlist</h1>
3636
[disabled]="isUpdating"
3737
color="primary"
3838
(click)="createIpEntry()"
39+
aria-label="Add new IP address"
3940
type="button"
4041
>
4142
+ Add IP

0 commit comments

Comments
 (0)