Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119348

OpenGlobal on "[Plugin: WordPress Form Manager] WCAG validation"

$
0
0

I've spotted some minor problems in the code generated by WP Form Manager which means that it doesn't satisfy WCAG Priority 1 (so it technically illegal in most developed countries).

Here are the required fixes:

types/recaptcha/recaptchalib.php (line 122)

return '<script type="text/javascript" src="'. $server . '/challenge?k=' . $pubkey . $errorpart . '"></script>
<noscript>
<iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0">Recaptcha</iframe>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</noscript>';

templates/fm-form-default.php(line 88)
<label style="display:block;width:<?php echo $labelwidth;?>px;" for="<?php echo fm_form_the_ID(); ?>"><?php echo fm_form_the_label(); ?>
(line 93)
<td style="width:<?php echo $labelWidth; ?>px"><label for="<?php echo fm_form_the_ID(); ?>"><?php echo fm_form_the_label(); ?><?php if(fm_form_is_required()) echo " *"; ?></label></td>

types/list.php(lines 81/91)
'separator' => '
',

http://wordpress.org/extend/plugins/wordpress-form-manager/


Viewing all articles
Browse latest Browse all 119348

Trending Articles