[ADF-4865] Upload Dialog - row actions not accessible by keyboard alone (#5051)

* access upload dialog information by keyboard

* upload files actions keyboard accessibility

* aria labels translation keys

* refractor styling

* toggle action icons

* update docs

* e2e

* e2e update action reference
This commit is contained in:
Cilibiu Bogdan
2019-09-05 13:08:46 +03:00
committed by Eugenio Romano
parent 2360ccc6d5
commit ef09b077c4
14 changed files with 261 additions and 47 deletions

View File

@@ -79,7 +79,7 @@ describe('Upload component', async () => {
});
it('[C272792] Should be possible to cancel upload of a big file using row cancel icon', async () => {
await browser.executeScript(' setTimeout(() => {document.querySelector(\'mat-icon[class*="adf-file-uploading-row__action"]\').click();}, 3000)');
await browser.executeScript('setTimeout(() => {document.querySelector("div[data-automation-id=\'cancel-upload-progress\']").click();}, 3000)');
await contentServicesPage.uploadFile(largeFile.location);