mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
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:
@@ -162,6 +162,8 @@ export abstract class DacFxConfigPage extends BasePage {
|
|||||||
this.fileTextBox.ariaLabel = localize('dacfx.fileLocationAriaLabel', "File Location");
|
this.fileTextBox.ariaLabel = localize('dacfx.fileLocationAriaLabel', "File Location");
|
||||||
this.fileButton = this.view.modelBuilder.button().withProperties({
|
this.fileButton = this.view.modelBuilder.button().withProperties({
|
||||||
label: '•••',
|
label: '•••',
|
||||||
|
title: localize('dacfx.selectFile', "Select file"),
|
||||||
|
ariaLabel: localize('dacfx.selectFile', "Select file")
|
||||||
}).component();
|
}).component();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -289,10 +289,14 @@ export class SchemaCompareDialog {
|
|||||||
if (isTarget) {
|
if (isTarget) {
|
||||||
this.targetFileButton = view.modelBuilder.button().withProperties({
|
this.targetFileButton = view.modelBuilder.button().withProperties({
|
||||||
label: '•••',
|
label: '•••',
|
||||||
|
title: localize('schemaCompare.selectTargetFile', "Select target file"),
|
||||||
|
ariaLabel: localize('schemaCompare.selectTargetFile', "Select target file")
|
||||||
}).component();
|
}).component();
|
||||||
} else {
|
} else {
|
||||||
this.sourceFileButton = view.modelBuilder.button().withProperties({
|
this.sourceFileButton = view.modelBuilder.button().withProperties({
|
||||||
label: '•••',
|
label: '•••',
|
||||||
|
title: localize('schemaCompare.selectSourceFile', "Select source file"),
|
||||||
|
ariaLabel: localize('schemaCompare.selectSourceFile', "Select source file")
|
||||||
}).component();
|
}).component();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user