#9 Accessibility improvements

This commit is contained in:
Denys Vuika
2016-05-09 13:31:39 +01:00
parent 7494130a00
commit ed7c9d39d0
8 changed files with 43 additions and 7 deletions

View File

@@ -8,9 +8,14 @@
<thead>
<tr>
<!-- Columns -->
<th class="mdl-data-table__cell--non-numeric {{col.cssClass}}" *ngFor="#col of columns">{{col.title}}</th>
<th class="mdl-data-table__cell--non-numeric {{col.cssClass}}" *ngFor="#col of columns">
<span *ngIf="col.srTitle" class="sr-only">{{col.srTitle}}</span>
<span *ngIf="col.title">{{col.title}}</span>
</th>
<!-- Actions -->
<th></th>
<th>
<span class="sr-only">Actions</span>
</th>
</tr>
</thead>
<tbody>