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

@@ -136,7 +136,7 @@ export abstract class DacFxConfigPage extends BasePage {
if (!(this.instance.selectedOperation === Operation.deploy && !this.model.upgradeExisting)) {
this.model.database = values[0].name;
}
// filename shouldn't change for deploy because the file exists and isn't being generated like for extract and export
// filename shouldn't change for deploy because the file exists and isn't being generated as for extract and export
if (this.instance.selectedOperation !== Operation.deploy) {
this.model.filePath = this.generateFilePathFromDatabaseAndTimestamp();
this.fileTextBox.value = this.model.filePath;
@@ -156,7 +156,8 @@ export abstract class DacFxConfigPage extends BasePage {
component => isValidBasename(component.value)
)
.withProperties({
required: true
required: true,
ariaLive: 'polite'
}).component();
this.fileTextBox.ariaLabel = localize('dacfx.fileLocationAriaLabel', "File Location");