Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Suggestions, Wishlists & Feature Requests    Topic: Captcha fails WCAG validation
Pages: [1]   Go Down
  Print  
Author Topic: Captcha fails WCAG validation  (Read 1301 times)
0 Members and 1 Guest are viewing this topic.
OpenGlobal
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« on: April 09, 2012, 15:54:44 »

The latest version of JComments fails WCAG validation because there is no label for the captcha form field (and is therefore technically illegal in most developed countries).

The fix is to change the line:

Code:
                <input class="captcha" id="comments-form-captcha" type="text" name="captcha_refid" value="" size="5" tabindex="6" /><br />

to:

Code:
                <input class="captcha" id="comments-form-captcha" type="text" name="captcha_refid" value="" size="5" tabindex="6" />
                <label for="comments-form-captcha"><?php echo JText::_('FORM_CAPTCHA'); ?></label><br />

in com_jcomments/tpl/default/tpl_form.php (line 125).

OpenGlobal
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #1 on: April 09, 2012, 17:15:17 »

...is therefore technically illegal in most developed countries).
Could you cite any statutes please?
Logged

No personal messages unless you are a friend or you have money for me.
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Suggestions, Wishlists & Feature Requests    Topic: Captcha fails WCAG validation
 
Jump to: