Adding aria-live label support for input boxes (#6862)

* Adding aria-live support for InputBoxes

* Adding aria-live setting for DacFx wizard InputBox control

* Dud commit to unstick Github CI
This commit is contained in:
Benjin Dubishar
2019-08-22 14:01:19 -07:00
committed by GitHub
parent ab9c4e0cbd
commit 887b2bfd2b
5 changed files with 22 additions and 2 deletions

View File

@@ -96,6 +96,10 @@ export class InputBox extends vsInputBox {
}
}
public set ariaLive(value: string) {
this.element.setAttribute('aria-live', value);
}
public isEnabled(): boolean {
return !this.inputElement.hasAttribute('disabled');
}