mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -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.fileButton = this.view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: localize('dacfx.selectFile', "Select file"),
|
||||
ariaLabel: localize('dacfx.selectFile', "Select file")
|
||||
}).component();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user