From 4fba87e53dbe959a1a52011bf1a88f6f72737a9a Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 27 Apr 2014 13:43:16 +0200 Subject: [PATCH] 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 --- includes/specials/SpecialBlock.php | 2 -- 1 file changed, 2 deletions(-) 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(), -- 2.20.1