Skip to content

Commit

Permalink
gh-518 Add captions to HTML tables
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmonks committed Jul 22, 2022
1 parent d4d52ff commit d62c739
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ <h4 class="marginless">
[dataSource]="records"
class="mdm--mat-table mat-elevation-z3 table-striped"
>
<caption>
Metadata
</caption>
<ng-container matColumnDef="namespace">
<th
mat-header-cell
Expand Down Expand Up @@ -267,7 +270,7 @@ <h4 class="marginless">
count="1"
[theme]="{ 'background-color': '#b7bbc5', width: '25%' }"
></ngx-skeleton-loader>
</th>
</th>
</tr>
<tr>
<td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ <h4>
<p>{{ job.jobName }}</p>
</div>
<table class="table table-bordered mdm--table-fixed">
<caption>
Job details
</caption>
<tbody>
<tr>
<th class="detailsRowHeader" scope="row">Started by user</th>
Expand Down
3 changes: 3 additions & 0 deletions src/app/userArea/async-job-list/async-job-list.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ <h4 class="marginless">
matSort
class="mdm--mat-table table table-striped marginless"
>
<caption>
Jobs
</caption>
<ng-container matColumnDef="jobName">
<th
mat-header-cell
Expand Down

0 comments on commit d62c739

Please sign in to comment.