Skip to content

Commit

Permalink
Merge pull request #67 from chesio/small-ux-improvement
Browse files Browse the repository at this point in the history
Small UX improvement: add for attribute to captcha label.
  • Loading branch information
Arsenal21 authored Nov 17, 2016
2 parents 4c73b9c + 3fb06d8 commit 2b95848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all-in-one-wp-security/classes/wp-security-captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function display_captcha_form()
//if buddy press feature active add action hook so buddy press can display our errors properly on bp registration form
do_action( 'bp_aiowps-captcha-answer_errors' );
}
$cap_form = '<p class="aiowps-captcha"><label>'.__('Please enter an answer in digits:','all-in-one-wp-security-and-firewall').'</label>';
$cap_form = '<p class="aiowps-captcha"><label for="aiowps-captcha-answer">'.__('Please enter an answer in digits:','all-in-one-wp-security-and-firewall').'</label>';
$cap_form .= '<div class="aiowps-captcha-equation"><strong>';
$maths_question_output = $this->generate_maths_question();
$cap_form .= $maths_question_output . '</strong></div></p>';
Expand Down

0 comments on commit 2b95848

Please sign in to comment.