mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Adding aria-label to the widgets in page settings that fail accessibility
Bug: T247048 Change-Id: I08469c9a38d905b8953b471f11839a5b99f4e7c8
This commit is contained in:
parent
2c1383b79e
commit
a65c905287
|
@ -81,6 +81,8 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
|
||||||
$overlay: config.$overlay,
|
$overlay: config.$overlay,
|
||||||
api: ve.init.target.getContentApi()
|
api: ve.init.target.getContentApi()
|
||||||
} );
|
} );
|
||||||
|
this.redirectTargetInput.$input.attr( 'aria-label', ve.msg( 'visualeditor-dialog-meta-settings-redirect-placeholder' ) );
|
||||||
|
|
||||||
this.redirectTargetField = new OO.ui.FieldLayout(
|
this.redirectTargetField = new OO.ui.FieldLayout(
|
||||||
this.redirectTargetInput,
|
this.redirectTargetInput,
|
||||||
{ align: 'top' }
|
{ align: 'top' }
|
||||||
|
|
Loading…
Reference in a new issue