Commit 53b9e820 authored by webchick's avatar webchick

#557220 by Everett Zufelt: Added alt attributes to SimpleTest results to...

#557220 by Everett Zufelt: Added alt attributes to SimpleTest results to assist screen-reader users.
parent 38502757
......@@ -402,10 +402,10 @@ function simpletest_result_status_image($status) {
if (!isset($map)) {
$map = array(
'pass' => theme('image', 'misc/watchdog-ok.png'),
'fail' => theme('image', 'misc/watchdog-error.png'),
'exception' => theme('image', 'misc/watchdog-warning.png'),
'debug' => theme('image', 'misc/watchdog-warning.png'),
'pass' => theme('image', 'misc/watchdog-ok.png', t('Pass')),
'fail' => theme('image', 'misc/watchdog-error.png', t('Fail')),
'exception' => theme('image', 'misc/watchdog-warning.png', t('Exception')),
'debug' => theme('image', 'misc/watchdog-warning.png', t('Debug')),
);
}
if (isset($map[$status])) {
......
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