diff --git a/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js b/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js index 8fa4139fd7..2243d69032 100644 --- a/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js +++ b/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js @@ -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' } ); diff --git a/modules/ve-mw/ui/pages/ve.ui.MWTemplatePage.js b/modules/ve-mw/ui/pages/ve.ui.MWTemplatePage.js index 262cdc8f6e..fca5920004 100644 --- a/modules/ve-mw/ui/pages/ve.ui.MWTemplatePage.js +++ b/modules/ve-mw/ui/pages/ve.ui.MWTemplatePage.js @@ -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' } );