mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
add aria label to the title of dialog (#2210)
This commit is contained in:
@@ -228,7 +228,7 @@ export abstract class Modal extends Disposable implements IThemable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The builder builds the dialog. It append header, body and footer sections.
|
// 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) => {
|
this._modalDialog = dialogContainer.div({ class: 'modal-dialog ', role: 'document' }, (modalDialog) => {
|
||||||
modalDialog.div({ class: 'modal-content' }, (modelContent) => {
|
modalDialog.div({ class: 'modal-content' }, (modelContent) => {
|
||||||
parts.forEach((part) => {
|
parts.forEach((part) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user