Skip to content

Commit 765bd98

Browse files
authored
Add more accessible names to the console (#2652)
1 parent 221088e commit 765bd98

24 files changed

+62
-26
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/billingInfo/billingInfo.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: 100%;
1717
}
1818
&-subhead {
19-
font-size: 20px;
19+
font-size: 1.25rem;
2020
margin-bottom: 20px;
2121
}
2222
}

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/lock/registryLockVerify.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
margin-top: 30px;
44
}
55
&-subhead {
6-
font-size: 20px;
6+
font-size: 1.25rem;
77
margin-bottom: 20px;
88
}
99
}

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>

0 commit comments

Comments
 (0)