Skip to content
Snippets Groups Projects
Commit 53b9e820 authored by Angie Byron's avatar Angie Byron
Browse files

#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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment