Bug/accessibility 1 (#6774)

* fixing simple name changes

* Fixing button color and tabbing on tabs

* removing some extra lines of code

* Adding some null checks

* Updating as per PR comments
This commit is contained in:
Udeesha Gautam
2019-08-20 10:11:34 -07:00
committed by GitHub
parent 23ed1e9123
commit c513204501
6 changed files with 61 additions and 14 deletions

View File

@@ -96,8 +96,9 @@ export class FileBrowserDialog extends Modal {
ariaLabel: pathLabel
});
this._fileFilterSelectBox = new SelectBox(['*'], '*', this._contextViewService);
let filterLabel = localize('fileFilter', "Files of type");
this._fileFilterSelectBox = new SelectBox(['*'], '*', this._contextViewService);
this._fileFilterSelectBox.setAriaLabel(filterLabel);
let filterBuilder = DialogHelper.appendRow(tableContainer, filterLabel, 'file-input-label', 'file-input-box');
DialogHelper.appendInputSelectBox(filterBuilder, this._fileFilterSelectBox);