[ADF-3862] - Document List - Add accesibility tags for images and documents (#4171)

This commit is contained in:
Silviu Popa
2019-01-22 14:32:59 +02:00
committed by Maurizio Vitale
parent 1aafd79b70
commit b86a385c36
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<div class="adf-image-container" [ngStyle]="{ transform: transform }" data-automation-id="adf-image-container">
<div class="adf-image-container" tabindex="0" role="img" [attr.aria-label]="nameFile" [ngStyle]="{ transform: transform }" data-automation-id="adf-image-container">
<img id="viewer-image" [src]="urlFile" [alt]="nameFile" [ngStyle]="{ 'cursor' : isDragged ? 'move': 'default' } " />
</div>