From: umherirrender Date: Sun, 27 Apr 2014 11:43:16 +0000 (+0200) Subject: Remove tabindex from Special:Block X-Git-Tag: 1.31.0-rc.0~15784 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=4fba87e53dbe959a1a52011bf1a88f6f72737a9a;p=lhc%2Fweb%2Fwiklou.git Remove tabindex from Special:Block There is a autofocus on the Target field, which sets the start of tabbing and than all the other fields are tabbed in the correct native order. No need for extra tabindex order. Tested with IE11 and FF28 Bug: 61257 Change-Id: Ic0d7365447733a23fa87c1d9b91c0f4f0f61bb39 --- diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index ccb10066ef..8c46a93b45 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -130,7 +130,6 @@ class SpecialBlock extends FormSpecialPage { 'Target' => array( 'type' => 'text', 'label-message' => 'ipaddressorusername', - 'tabindex' => '1', 'id' => 'mw-bi-target', 'size' => '45', 'autofocus' => true, @@ -141,7 +140,6 @@ class SpecialBlock extends FormSpecialPage { 'type' => !count( $suggestedDurations ) ? 'text' : 'selectorother', 'label-message' => 'ipbexpiry', 'required' => true, - 'tabindex' => '2', 'options' => $suggestedDurations, 'other' => $this->msg( 'ipbother' )->text(), 'default' => $this->msg( 'ipb-default-expiry' )->inContentLanguage()->text(),