Skip to content

Commit b23660c

Browse files
committed
Added scope attribute to th tags.
1 parent 405503b commit b23660c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/table.template.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ export const TABLE_TEMPLATE = `
66
<table class="table table-condensed table-bordered data-table">
77
<thead>
88
<tr>
9-
<th [hide]="!expandColumnVisible" class="expand-column-header">
10-
<th [hide]="!indexColumnVisible" class="index-column-header">
9+
<th scope="col" [hide]="!expandColumnVisible" class="expand-column-header">
10+
<th scope="col" [hide]="!indexColumnVisible" class="index-column-header">
1111
<span [textContent]="indexColumnHeader"></span>
1212
</th>
13-
<th [hide]="!selectColumnVisible" class="select-column-header">
13+
<th scope="col" [hide]="!selectColumnVisible" class="select-column-header">
1414
<input [hide]="!multiSelect" type="checkbox" [(ngModel)]="selectAllCheckbox" [attr.aria-label]="translations.selectAllRows" />
1515
</th>
16-
<th *ngFor="let column of columns" #th [hide]="!column.visible"
16+
<th scope="col" *ngFor="let column of columns" #th [hide]="!column.visible"
1717
(click)="headerClicked(column, $event)"
1818
(keydown.enter)="headerClicked(column, $event)" (keydown.space)="headerClicked(column, $event)"
1919
[class.sortable]="column.sortable" [class.resizable]="column.resizable"

0 commit comments

Comments
 (0)