mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Benjind/schema compare add aria label (#6767)
* Adds button extension for explicitly setting aria-label, in case the label is not screen-reader friendly * Explicitly set aria-label for ellipsis buttons in SchemaCompare * Changing localize call to double-quotes * Removes unused getter for ariaLabel
This commit is contained in:
@@ -814,7 +814,8 @@ export class SchemaCompareMainWindow {
|
||||
private createSourceAndTargetButtons(view: azdata.ModelView): void {
|
||||
this.selectSourceButton = view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: localize('schemaCompare.sourceButtonTitle', 'Select Source')
|
||||
title: localize('schemaCompare.sourceButtonTitle', "Select Source"),
|
||||
ariaLabel: localize('schemaCompare.sourceButtonTitle', "Select Source")
|
||||
}).component();
|
||||
|
||||
this.selectSourceButton.onDidClick(() => {
|
||||
@@ -825,7 +826,8 @@ export class SchemaCompareMainWindow {
|
||||
|
||||
this.selectTargetButton = view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: localize('schemaCompare.targetButtonTitle', 'Select Target')
|
||||
title: localize('schemaCompare.targetButtonTitle', "Select Target"),
|
||||
ariaLabel: localize('schemaCompare.targetButtonTitle', "Select Target")
|
||||
}).component();
|
||||
|
||||
this.selectTargetButton.onDidClick(() => {
|
||||
|
||||
Reference in New Issue
Block a user