Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

g-recaptcha-response missing label by W3

$
0
0

Replies: 0

the <textarea> with id=”g-recaptcha-response” is missing label actually in this case attribute aria-hidden=”true”
W3 is saying “Failing requirement 4.1.2 textarea is empty. This is because no label is associated with the text area or an aria-label attribute isn’t added to the textarea.

This problem is causing Google and it is not bug of the plugin but can be solved by adding in google-captcha.php after line 597
this code:
$content .= '<label style="display:none" for="g-recaptcha-response">Google response:</label>';
it is not best solution but it is working and would be good if the author can add this to the plugin.
also the <nocript> code should have the textarea with attribute aria-hidden=”true”


Viewing all articles
Browse latest Browse all 59525

Trending Articles