From 8f06e723189605c30ab13c57c556544b1199a933 Mon Sep 17 00:00:00 2001 From: Abbie Petchtes Date: Fri, 10 Aug 2018 15:34:59 -0700 Subject: [PATCH] add aria label to the title of dialog (#2210) --- src/sql/base/browser/ui/modal/modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/base/browser/ui/modal/modal.ts b/src/sql/base/browser/ui/modal/modal.ts index ce296b5bc2..7fab27544f 100644 --- a/src/sql/base/browser/ui/modal/modal.ts +++ b/src/sql/base/browser/ui/modal/modal.ts @@ -228,7 +228,7 @@ export abstract class Modal extends Disposable implements IThemable { } // The builder builds the dialog. It append header, body and footer sections. - this._builder = $().div({ class: builderClass, 'role': 'dialog' }, (dialogContainer) => { + this._builder = $().div({ class: builderClass, 'role': 'dialog', 'aria-label': this._title }, (dialogContainer) => { this._modalDialog = dialogContainer.div({ class: 'modal-dialog ', role: 'document' }, (modalDialog) => { modalDialog.div({ class: 'modal-content' }, (modelContent) => { parts.forEach((part) => {