From b34e43b14f74a6c53ba67dd002654a4d64496a23 Mon Sep 17 00:00:00 2001 From: Markus Klein <klein.t3@mfc-linz.at> Date: Tue, 18 Jun 2013 22:32:33 +0200 Subject: [PATCH] [FEATURE] Add autofocus attribute to BE login Adding the HTML5 autofocus attribute to the backend login box's username field. Resolves: #49228 Releases: 6.2 Change-Id: I5a00d5ec260ade81fb83553a50358cddf95eaebb Reviewed-on: https://review.typo3.org/21500 Reviewed-by: Eric Chavaillaz Tested-by: Eric Chavaillaz Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe --- typo3/sysext/backend/Resources/Private/Templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Resources/Private/Templates/login.html b/typo3/sysext/backend/Resources/Private/Templates/login.html index bab7adb5bafb..17f1eb349e6c 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/login.html +++ b/typo3/sysext/backend/Resources/Private/Templates/login.html @@ -31,7 +31,7 @@ <!-- ###LOGIN_ERROR### end --> <tr class="c-username"> <td><label for="username" class="c-username">###LABEL_USERNAME###:</label></td> - <td><input type="text" id="username" name="username" value="###VALUE_USERNAME###" class="c-username" /></td> + <td><input type="text" id="username" name="username" value="###VALUE_USERNAME###" class="c-username" autofocus="autofocus" /></td> </tr> <tr class="c-password"> <td><label for="password" class="c-password">###LABEL_PASSWORD###:</label></td> -- GitLab