diff --git a/src/sql/workbench/browser/modal/modal.ts b/src/sql/workbench/browser/modal/modal.ts index b7bc942f79..02640eabea 100644 --- a/src/sql/workbench/browser/modal/modal.ts +++ b/src/sql/workbench/browser/modal/modal.ts @@ -528,9 +528,13 @@ export abstract class Modal extends Disposable implements IThemable { * Set the title of the modal */ protected set title(title: string) { - if (this._title !== undefined) { + this._title = title; + if (this._modalTitle) { this._modalTitle.innerText = title; } + if (this._bodyContainer) { + this._bodyContainer.setAttribute('aria-label', title); + } } protected get title(): string {