mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Remove tabindex="-1" from "Add more information" button in template dialog
This makes it button keyboard-accessible, like the other buttons. Bug: T179136 Change-Id: Ib2824176fe861e0ad8511f755521bee941119b29
This commit is contained in:
parent
7fd9a6e9b0
commit
185db3a157
|
@ -166,8 +166,7 @@ ve.ui.MWParameterPage = function VeUiMWParameterPage( parameter, name, config )
|
|||
this.addButton = new OO.ui.ButtonWidget( {
|
||||
framed: false,
|
||||
icon: 'parameter',
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-add-param' ),
|
||||
tabIndex: -1
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-add-param' )
|
||||
} )
|
||||
.connect( this, { click: 'onAddButtonFocus' } );
|
||||
|
||||
|
|
|
@ -50,8 +50,7 @@ ve.ui.MWTemplatePage = function VeUiMWTemplatePage( template, name, config ) {
|
|||
this.addButton = new OO.ui.ButtonWidget( {
|
||||
framed: false,
|
||||
icon: 'parameter',
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-add-param' ),
|
||||
tabIndex: -1
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-add-param' )
|
||||
} )
|
||||
.connect( this, { click: 'onAddButtonFocus' } );
|
||||
|
||||
|
|
Loading…
Reference in a new issue