Add aria labels to '•••' buttons in dacfx and schema compare (#6814)

* adding aria label to '•••' buttons in dacfx and schema compare extensions

* add tooltips and more descriptive labels

* fix typo
This commit is contained in:
Kim Santiago
2019-08-20 15:18:18 -07:00
committed by GitHub
parent f64c2775b0
commit 8fbbd5127c
2 changed files with 6 additions and 0 deletions

View File

@@ -162,6 +162,8 @@ export abstract class DacFxConfigPage extends BasePage {
this.fileTextBox.ariaLabel = localize('dacfx.fileLocationAriaLabel', "File Location");
this.fileButton = this.view.modelBuilder.button().withProperties({
label: '•••',
title: localize('dacfx.selectFile', "Select file"),
ariaLabel: localize('dacfx.selectFile', "Select file")
}).component();
}

View File

@@ -289,10 +289,14 @@ export class SchemaCompareDialog {
if (isTarget) {
this.targetFileButton = view.modelBuilder.button().withProperties({
label: '•••',
title: localize('schemaCompare.selectTargetFile', "Select target file"),
ariaLabel: localize('schemaCompare.selectTargetFile', "Select target file")
}).component();
} else {
this.sourceFileButton = view.modelBuilder.button().withProperties({
label: '•••',
title: localize('schemaCompare.selectSourceFile', "Select source file"),
ariaLabel: localize('schemaCompare.selectSourceFile', "Select source file")
}).component();
}