From 28b52b86070f5918b0d72288524bb37c923f5a84 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 3 Dec 2006 15:34:37 +0000 Subject: [PATCH] removed space from alt attribute, use empty "" insted according to accessibility recommendations --- files/index.php | 2 +- lib/weblib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/index.php b/files/index.php index 9fc4586a33..c6f6cf0280 100644 --- a/files/index.php +++ b/files/index.php @@ -723,7 +723,7 @@ function displaydir ($wdir) { $fileurl = rawurlencode(dirname($wdir)); print_cell(); // alt attribute intentionally empty to prevent repetition in screen reader - print_cell('left', '  '.get_string('parentfolder').'', 'name'); + print_cell('left', ' '.get_string('parentfolder').'', 'name'); print_cell(); print_cell(); print_cell(); diff --git a/lib/weblib.php b/lib/weblib.php index 38f882873b..07add8c0f0 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5402,7 +5402,7 @@ function page_doc_link($text='', $iconpath='') { } // alt left blank intentionally to prevent repetition in screenreaders - $str .= ' ' .$text. ''; + $str .= '' .$text. ''; return $str; } -- 2.39.5