[FEATURE] Follow up: Add autofocus attribute to BE login 55/21555/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Thu, 20 Jun 2013 23:10:42 +0000 (01:10 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 20 Jun 2013 23:13:39 +0000 (01:13 +0200)
Adding the HTML5 autofocus attribute to the
backend login box's username field.

Additionally adds the attribute to t3skin too.

Resolves: #49228
Releases: 6.2
Change-Id: Ie59a89ae4b4a7d490f1355ce867daa40ea7b2d54
Reviewed-on: https://review.typo3.org/21555
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/t3skin/Resources/Private/Templates/login.html

index 7955959..de0e383 100644 (file)
@@ -79,7 +79,7 @@
 
 <div id="t3-login-form-fields" class="###CSS_OPENIDCLASS###">
        <div class="t3-login-field">
-               <input type="text" id="t3-username" name="username" value="###VALUE_USERNAME###" placeholder="###LABEL_USERNAME###" class="t3-username" />
+               <input type="text" id="t3-username" name="username" value="###VALUE_USERNAME###" placeholder="###LABEL_USERNAME###" class="t3-username" autofocus="autofocus" />
 
                <div class="t3-login-clearInputField">
                        <a id="t3-username-clearIcon" style="display: none;">