Inform screen-readers of Dacpac Deploy loading and loading complete for summary (#7000)

* Loading components now announce themselves.  Likely need way to disable.

* Adding focus elements to table for screen-reading after component is loaded in

* Adding piping for aria roles on tables

* Alerting on completion of deploy plan summary

* Removing extra ariaLive property
This commit is contained in:
Benjin Dubishar
2019-08-28 14:42:40 -07:00
committed by GitHub
parent 40d5667e63
commit faf6eae535
6 changed files with 38 additions and 2 deletions

View File

@@ -1191,6 +1191,13 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
this.setProperty('moveFocusOutWithTab', v);
}
public get focused(): boolean {
return this.properties['focused'];
}
public set focused(v: boolean) {
this.setProperty('focused', v);
}
public get onRowSelected(): vscode.Event<any> {
let emitter = this._emitterMap.get(ComponentEventType.onSelectedRowChanged);
return emitter && emitter.event;
@@ -1200,6 +1207,8 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
let emitter = this._emitterMap.get(ComponentEventType.onCellAction);
return emitter && emitter.event;
}
}
class DropDownWrapper extends ComponentWrapper implements azdata.DropDownComponent {