From 7e13493675a8e245b704336581003c831808172c Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 1 Oct 2009 06:54:45 +0000 Subject: [PATCH] form/recaptcha MDL-20144 Don't specify tabindex, for accessibility --- lib/form/recaptcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/form/recaptcha.php b/lib/form/recaptcha.php index 48c529d3e2..81bd2477e1 100644 --- a/lib/form/recaptcha.php +++ b/lib/form/recaptcha.php @@ -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(); -- 2.39.5