From 53b9e820d3be8c2585862106f7c0defe06de8b25 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 11 Sep 2009 01:53:29 +0000 Subject: #557220 by Everett Zufelt: Added alt attributes to SimpleTest results to assist screen-reader users. --- modules/simpletest/simpletest.pages.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') 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])) { -- cgit v1.2.3