I'm new to CMSMS, so be gentle please! I'm not sure if this is a FrontEndUsers issue, or a problem with CMSMS itself....
I'm creating a new site using CMSMS 1.1 on PHP 5.2.3/Apache 2.2.4, and managing user accounts through FrontEndUsers 1.2.0. I'm trying to follow WAI guidelines as far as possible to maximise accessability, therefore need to add 'label's to any input fields, which in turn means that these input fields need to have ID attributes assigned.
When creating the 'username' field via FEUsers '{$input_username}' tag, both the name and id attributes are assigned correctly. The corresponding '{$input_password}' tag however generates a password input field which contains a name attribute, but is missing the id attribute, so I end up with something like:
Code: Select all
<label for="m5input_username">Username</label>
<input type="text" name="m5input_username" id="m5input_username" value="" size="8" maxlength="20" alt="Username" tabindex="8" />
<label for="m5input_password">Password</label>
<span class="login_right"><input type="password" name="m5input_password" value="" size="8" maxlength="20" alt="Password" tabindex="9" />
NB I've had to hack function.user_loginform.php to add the alt text and tabindexes to the username/password fields, which are added as an extra parameter ($addtext) to the createInputPassword and createInputText calls. As far as I can make out, this has not otherwise affected the behaviour re: the ID attribute.
Thanks,
James
