Added some accessibility tags

merge-requests/3/merge
Nato Boram 2021-03-20 13:56:29 -04:00
parent 799e694e68
commit e24b381d14
No known key found for this signature in database
GPG Key ID: 478E3C64BF88AFFA
2 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
### Added
- Added some accessibility tags
### Changed
- Updated to Angular 11

View File

@ -32,11 +32,11 @@
color="primary">
</mat-progress-bar>
<table class="mat-elevation-z8" [dataSource]="dataSource" mat-table>
<table class="mat-elevation-z8" [dataSource]="dataSource" mat-table aria-label="List of IPFS gateways and their statuses.">
<!-- Result Column -->
<ng-container matColumnDef="icon">
<th mat-header-cell *matHeaderCellDef> Status </th>
<th mat-header-cell *matHeaderCellDef scope="col"> Status </th>
<td mat-cell *matCellDef="let element">
<span [matTooltip]="element.message"> {{ element.icon }} </span>
</td>
@ -44,7 +44,7 @@
<!-- Gateway Column -->
<ng-container matColumnDef="gateway">
<th mat-header-cell *matHeaderCellDef> Gateway </th>
<th mat-header-cell *matHeaderCellDef scope="col"> Gateway </th>
<td mat-cell *matCellDef="let element">
<div [ngSwitch]="element.ok">
<div *ngSwitchCase="true">