summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-11 01:53:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-11 01:53:29 +0000
commit53b9e820d3be8c2585862106f7c0defe06de8b25 (patch)
treee65c7fcc0af4efc3c3fab0795bcf7ddaa348769d /modules/simpletest
parent38502757b9a1c398d4a25b8cd559474ed1426456 (diff)
downloadbrdo-53b9e820d3be8c2585862106f7c0defe06de8b25.tar.gz
brdo-53b9e820d3be8c2585862106f7c0defe06de8b25.tar.bz2
#557220 by Everett Zufelt: Added alt attributes to SimpleTest results to assist screen-reader users.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/simpletest.pages.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/simpletest/simpletest.pages.inc b/modules/simpletest/simpletest.pages.inc
index 4816cf74e..ffef07a71 100644
--- a/modules/simpletest/simpletest.pages.inc
+++ b/modules/simpletest/simpletest.pages.inc
@@ -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])) {