diff --git a/src/vs/base/browser/ui/actionbar/actionViewItems.ts b/src/vs/base/browser/ui/actionbar/actionViewItems.ts index a4fe9f3df5..807cc5304d 100644 --- a/src/vs/base/browser/ui/actionbar/actionViewItems.ts +++ b/src/vs/base/browser/ui/actionbar/actionViewItems.ts @@ -424,7 +424,7 @@ export class ActionViewItem extends BaseActionViewItem { } } - // {{SQL CARBON EDIT}} + // {{SQL CARBON EDIT}} - BEGIN override updateExpanded(): void { if (this.label) { if (this.getAction().expanded !== undefined) { @@ -434,6 +434,16 @@ export class ActionViewItem extends BaseActionViewItem { } } } + + override updateTooltip(): void { + super.updateTooltip(); + const tooltip = this.getTooltip(); + if (tooltip) { + this.label?.setAttribute('aria-label', tooltip); + } + } + + // {{SQL CARBON EDIT}} - END } export class SelectActionViewItem extends BaseActionViewItem {