Add alt text for mimetype icons in search component

Refs #302
This commit is contained in:
Will Abson
2016-06-29 16:44:58 +01:00
parent 1334f52e20
commit f92539db19
6 changed files with 78 additions and 35 deletions

View File

@@ -18,7 +18,7 @@
<tbody>
<tr *ngFor="let result of results; let idx = index" (click)="onItemClick(result, $event)">
<td class="col-mimetype-icon"><img src="{{getMimeTypeIcon(result)}}" /></td>
<td class="col-mimetype-icon"><img src="{{getMimeTypeIcon(result)}}" alt="{{getMimeTypeKey(result)|translate}}" /></td>
<td class="mdl-data-table__cell--non-numeric col-display-name"
attr.data-automation-id=file_{{result.entry.name}} >{{result.entry.name}}</td>
<td class="mdl-data-table__cell--non-numeric col-modified-by"