]> git.mjollnir.org Git - moodle.git/commitdiff
removed space from alt attribute, use empty "" insted according to accessibility...
authorskodak <skodak>
Sun, 3 Dec 2006 15:34:37 +0000 (15:34 +0000)
committerskodak <skodak>
Sun, 3 Dec 2006 15:34:37 +0000 (15:34 +0000)
files/index.php
lib/weblib.php

index 9fc4586a334f00e42d9908713a454f0a1526ab19..c6f6cf028012ba627b21fc49b9c4d6b4721fe504 100644 (file)
@@ -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', '<a href="index.php?id='.$id.'&amp;wdir='.$fileurl.'&amp;choose='.$choose.'"><img src="'.$CFG->pixpath.'/f/parent.gif" height="16" width="16" alt=" " />&nbsp;'.get_string('parentfolder').'</a>', 'name');
+                print_cell('left', '<a href="index.php?id='.$id.'&amp;wdir='.$fileurl.'&amp;choose='.$choose.'"><img src="'.$CFG->pixpath.'/f/parent.gif" height="16" width="16" alt="" />&nbsp;'.get_string('parentfolder').'</a>', 'name');
                 print_cell();
                 print_cell();
                 print_cell();
index 38f882873bd1996e5a798ac8dd2afd7277ade0de..07add8c0f0d08f325f44d1240efa57405f89ad79 100644 (file)
@@ -5402,7 +5402,7 @@ function page_doc_link($text='', $iconpath='') {
     }
 
     // alt left blank intentionally to prevent repetition in screenreaders
-    $str .= '<img src="' .$iconpath. '" alt=" " />' .$text. '</a>';
+    $str .= '<img src="' .$iconpath. '" alt="" />' .$text. '</a>';
 
     return $str;
 }