]> git.mjollnir.org Git - moodle.git/commitdiff
form/recaptcha MDL-20144 Don't specify tabindex, for accessibility
authormoodler <moodler>
Thu, 1 Oct 2009 06:54:45 +0000 (06:54 +0000)
committermoodler <moodler>
Thu, 1 Oct 2009 06:54:45 +0000 (06:54 +0000)
lib/form/recaptcha.php

index 48c529d3e28ac3d528b2f6f016f4762f81534f3a..81bd2477e1e46366df48ed16715f4c68f8436709 100644 (file)
@@ -51,7 +51,7 @@ class MoodleQuickForm_recaptcha extends HTML_QuickForm_input {
         global $CFG, $PAGE;
         require_once $CFG->libdir . '/recaptchalib.php';
 
-        $recaptureoptions = Array('theme'=>'custom', 'tabindex'=>2, 'custom_theme_widget'=>'recaptcha_widget');
+        $recaptureoptions = Array('theme'=>'custom', 'custom_theme_widget'=>'recaptcha_widget');
         $html = $PAGE->requires->data_for_js('RecaptchaOptions', $recaptureoptions)->asap();
 
         $attributes = $this->getAttributes();