mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 17:14:42 +00:00
Making Categories page in page option dialog accessible
Bug: T247122 Change-Id: Id91438bf6bc1bf0781fbbcbed32326c5700bfb7d
This commit is contained in:
parent
a28cf0fd42
commit
30c90b867a
|
@ -68,6 +68,7 @@ ve.ui.MWMetaDialog.prototype.initialize = function () {
|
|||
this.templatesUsedPage
|
||||
] );
|
||||
|
||||
this.bookletLayout.$menu.find( '[role=listbox]' ).first().attr( 'aria-label', OO.ui.deferMsg( 'visualeditor-dialog-meta-title' ) );
|
||||
this.oldSettings = null;
|
||||
this.widgetList = this.getAllWidgets();
|
||||
};
|
||||
|
|
|
@ -33,9 +33,12 @@ ve.ui.MWCategoryInputWidget = function VeUiMWCategoryInputWidget( categoryWidget
|
|||
this.categoryWidget = categoryWidget;
|
||||
this.api = config.api || ve.init.target.getContentApi();
|
||||
|
||||
this.$input.attr( 'aria-label', ve.msg( 'visualeditor-dialog-meta-categories-input-placeholder' ) );
|
||||
|
||||
// Initialization
|
||||
this.$element.addClass( 've-ui-mwCategoryInputWidget' );
|
||||
this.lookupMenu.$element.addClass( 've-ui-mwCategoryInputWidget-menu' );
|
||||
this.lookupMenu.$element.attr( 'aria-label', ve.msg( 'visualeditor-dialog-meta-categories-data-label' ) );
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue