aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-03-25 12:57:30 +0000
committernikrou <nikrou@piwigo.org>2006-03-25 12:57:30 +0000
commit3cc303281f6ec90aceefe0676844e05115f3644a (patch)
treef674c72415567857f5a30174a9c153e4528080f2
parent56039d0e7b80dfedf39ade6894146d0f6394b0f1 (diff)
profile.tpl: small correction
Identification.tpl: accessibility improvement using tabindex git-svn-id: http://piwigo.org/svn/trunk@1100 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/identification.tpl7
-rw-r--r--template/yoga/profile.tpl2
2 files changed, 5 insertions, 4 deletions
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl
index 7ff80a01c..21fbca6c1 100644
--- a/template/yoga/identification.tpl
+++ b/template/yoga/identification.tpl
@@ -27,18 +27,19 @@
<ul>
<li>
<label for="username">{L_USERNAME}</label>
- <input class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}">
+ <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}">
</li>
<li>
<label for="password">{L_PASSWORD}</label>
<input class="login" type="password" name="password" id="password" size="25" maxlength="25">
+ <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
</li>
<!-- BEGIN remember_me -->
<li>
- <label>{L_REMEMBER_ME}</label>
- <input type="checkbox" name="remember_me" value="1">
+ <label for="remember_me">{L_REMEMBER_ME}</label>
+ <input type="checkbox" name="remember_me" id=="remember_me" value="1">
</li>
<!-- END remember_me -->
</ul>
diff --git a/template/yoga/profile.tpl b/template/yoga/profile.tpl
index 3a40df5bc..5233e49bb 100644
--- a/template/yoga/profile.tpl
+++ b/template/yoga/profile.tpl
@@ -105,7 +105,7 @@
</li>
<li>
- <label for"maxwidth">{L_MAXWIDTH}</label>
+ <label for="maxwidth">{L_MAXWIDTH}</label>
<input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{MAXWIDTH}"
onfocus="this.className='focus';" onblur="this.className='nofocus';">
</li>