kasunkv / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Recaptcha Code does not validate in HTML5 - noscript issue #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Text Recaptcha PHP API and try and validate using HTML5
2.
3.

What is the expected output? What do you see instead? The code doesn't validate 
as <noscript> isn't able to be used in the body. Only in the head.

What version of the product are you using? On what operating system? version 
1.11 of the PHP library

Please provide any additional information below.

Original issue reported on code.google.com by brett...@gmail.com on 10 Dec 2010 at 12:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
When validating as HTML5 I get:
"The frameborder attribute on the iframe element is obsolete. Use CSS instead."

-- Tim.

Original comment by Tim...@gmail.com on 21 Nov 2011 at 11:32

GoogleCodeExporter commented 8 years ago
I am having the same issue. If using PHP to call 
"recaptcha_get_html($publickey);" it automatically enters the noscript tag and 
iframe with the depreciated frameborder attribute.

I prefer using the PHP version of the reCaptcha, but guess until they fix this 
I'll be stuck using the javascript version, where I can adjust the iframe 
manually... frameborder="0" changed to style="border-width:0;" (validates now)

Original comment by ikcoll...@gmail.com on 26 Jan 2012 at 6:21

GoogleCodeExporter commented 8 years ago
The ASP.NET binary v1.0.5.0 also has this issue

Original comment by scottrfr...@gmail.com on 27 Jan 2012 at 7:18

GoogleCodeExporter commented 8 years ago
Any solution ?

Original comment by WeN...@gmail.com on 14 Apr 2013 at 9:36

GoogleCodeExporter commented 8 years ago
Regarding comments #3 & #5 above:

I changed "<iframe ... frameborder='0'>" to "<iframe ... style="border:0px">" 
directly in the PHP script. Validates fine for me as HTML5. 

Any reason this can't be rolled into the baseline?

Original comment by k...@normanhome.com on 12 Feb 2014 at 5:35