fix aria labels for database text boxes (#7628)

This commit is contained in:
Kim Santiago
2019-10-10 10:30:43 -07:00
committed by GitHub
parent d4feb903b0
commit 93c9426f25
3 changed files with 5 additions and 6 deletions

View File

@@ -35,8 +35,7 @@ export class DeployConfigPage extends DacFxConfigPage {
async start(): Promise<boolean> {
let serverComponent = await this.createServerDropdown(true);
let fileBrowserComponent = await this.createFileBrowser();
this.databaseComponent = await this.createDatabaseTextBox();
this.databaseComponent.title = localize('dacFx.databaseNameTextBox', 'Database Name');
this.databaseComponent = await this.createDatabaseTextBox(localize('dacFx.databaseNameTextBox', "Database Name"));
this.databaseDropdownComponent = await this.createDeployDatabaseDropdown();
this.databaseDropdownComponent.title = localize('dacFx.databaseNameDropdown', 'Database Name');
let radioButtons = await this.createRadiobuttons();

View File

@@ -30,7 +30,7 @@ export class ImportConfigPage extends DacFxConfigPage {
}
async start(): Promise<boolean> {
let databaseComponent = await this.createDatabaseTextBox();
let databaseComponent = await this.createDatabaseTextBox(localize('dacfx.targetDatabaseAriaLabel', "Target Database"));
let serverComponent = await this.createServerDropdown(true);
let fileBrowserComponent = await this.createFileBrowser();