diff --git a/lib/core/datatable/components/datatable/datatable.component.html b/lib/core/datatable/components/datatable/datatable.component.html index 3caa98cd1f..400b555abc 100644 --- a/lib/core/datatable/components/datatable/datatable.component.html +++ b/lib/core/datatable/components/datatable/datatable.component.html @@ -116,15 +116,28 @@ {{ iconAltTextKey(data.getValue(row, col)) | translate }}
- {{ iconAltTextKey(data.getValue(row, col)) | translate }} + + {{ 'ADF-DATATABLE.ACCESSIBILITY.ICON_ALT_TEXT' | translate:{ + type: 'ADF-DATATABLE.FILE_TYPE.' + (data.getValue(row, col) | fileType | uppercase) | translate + } + }} + {{ data.getValue(row, col) }}
{ - const resultElement = this.rootElement.all(by.css(`div[data-automation-id='${content}'] div.adf-cell-value img[aria-label='disable']`)).first(); + const resultElement = this.rootElement.all(by.css(`div[data-automation-id='${content}'] div.adf-cell-value img[aria-label='disabled']`)).first(); await BrowserVisibility.waitUntilElementIsVisible(resultElement); }