diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-11 01:53:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-11 01:53:29 +0000 |
commit | 53b9e820d3be8c2585862106f7c0defe06de8b25 (patch) | |
tree | e65c7fcc0af4efc3c3fab0795bcf7ddaa348769d /modules | |
parent | 38502757b9a1c398d4a25b8cd559474ed1426456 (diff) | |
download | brdo-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')
-rw-r--r-- | modules/simpletest/simpletest.pages.inc | 8 |
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])) { |