* Adding a <label> associated with the <input>
[toast/cookiecaptcha.git] / ConfirmEdit.php
index d82e0237bb8f40b7b30e9d57c9ffec3e7c17dc1e..c475777fa56412c5ac745359f223a2540722629f 100644 (file)
@@ -150,7 +150,7 @@ class SimpleCaptcha {
                
                $out->addWikiText( wfMsg( "captcha-short" ) );  
                $out->addHTML( <<<END
-                       <p><span id="$source">$test</span> = <input name="$dest" id="$dest" /></p>
+                       <p><span id="$source"><label for="$dest">$test</label></span> = <input name="$dest" id="$dest" /></p>
 END
                        );
        }