(bug 12892) Poor tab indexing on "delete file" form
authorHuji <huji@users.mediawiki.org>
Mon, 4 Feb 2008 17:57:38 +0000 (17:57 +0000)
committerHuji <huji@users.mediawiki.org>
Mon, 4 Feb 2008 17:57:38 +0000 (17:57 +0000)
RELEASE-NOTES
includes/FileDeleteForm.php

index 27956e7..c3d136e 100644 (file)
@@ -360,6 +360,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 12885) Correction for Russian convertPlural function
 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
 * (bug 12735) Truncate usernames in comments using mb_ functions.
+* (bug 12892) Poor tab indexing on "delete file" form
 
 == Parser changes in 1.12 ==
 
index 3d16931..ee40d06 100644 (file)
@@ -134,13 +134,13 @@ class FileDeleteForm {
                                        Xml::label( wfMsg( 'filedelete-otherreason' ), 'wpReason' ) .
                                "</td>
                                <td>" .
-                                       Xml::input( 'wpReason', 60, $wgRequest->getText( 'wpReason' ), array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '1', 'id' => 'wpReason' ) ) .
+                                       Xml::input( 'wpReason', 60, $wgRequest->getText( 'wpReason' ), array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '2', 'id' => 'wpReason' ) ) .
                                "</td>
                        </tr>
                        <tr>
                                <td></td>
                                <td>" .
-                                       Xml::submitButton( wfMsg( 'filedelete-submit' ), array( 'name' => 'mw-filedelete-submit', 'id' => 'mw-filedelete-submit' ) ) .
+                                       Xml::submitButton( wfMsg( 'filedelete-submit' ), array( 'name' => 'mw-filedelete-submit', 'id' => 'mw-filedelete-submit', 'tabindex' => '3' ) ) .
                                "</td>
                        </tr>" .
                        Xml::closeElement( 'table' ) .