Commit c631eb3c authored by soxofaan's avatar soxofaan

#231716: added alt and title attirbutes to image element

parent 4975d372
......@@ -136,7 +136,7 @@ function image_captcha_captcha($op, $captcha_type='') {
$result['solution'] = $code;
$result['form']['captcha_image'] = array(
'#type' => 'markup',
'#value' => '<img src="'. check_url(url("image_captcha/$seed")) .'" />',
'#value' => '<img src="'. check_url(url("image_captcha/$seed")) .'" alt="'. t('Image CAPTCHA') .'" title="'. t('Image CAPTCHA') .'" />',
'#weight' => -2,
);
$result['form']['captcha_response'] = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment