Improve narration for backup and dacpac UIs (#6783)

* Added ability to specify aria-rowcount and -colcount to tables.

* Cleanup

* Adds aria role to table container so that screen-readers ignore it
This commit is contained in:
Benjin Dubishar
2019-08-19 16:51:38 -07:00
committed by GitHub
parent 986ad33678
commit 77bf228809
5 changed files with 42 additions and 1 deletions

View File

@@ -88,6 +88,8 @@ export class FileBrowserDialog extends Modal {
this._treeContainer = DOM.append(this._body, DOM.$('.tree-view'));
let tableContainer: HTMLElement = DOM.append(DOM.append(this._body, DOM.$('.option-section')), DOM.$('table.file-table-content'));
tableContainer.setAttribute('role', 'presentation');
let pathLabel = localize('filebrowser.filepath', "Selected path");
let pathBuilder = DialogHelper.appendRow(tableContainer, pathLabel, 'file-input-label', 'file-input-box');
this._filePathInputBox = new InputBox(pathBuilder, this._contextViewService, {