]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7434 all images that convey information should have alt text to convey that infor...
authorskodak <skodak>
Sun, 26 Nov 2006 19:00:23 +0000 (19:00 +0000)
committerskodak <skodak>
Sun, 26 Nov 2006 19:00:23 +0000 (19:00 +0000)
blog/rsslib.php
lib/rsslib.php

index 70a7b428301ffcbd246c3b009c50d7cb8e751391..f8e7ec20fc86eb7c6d8581cdb66922070122959c 100755 (executable)
@@ -43,7 +43,7 @@
         } else {
             $path = $CFG->wwwroot.'/rss/file.php?file='.$path;
         }
-        print '<div align="right"><a href="'. $path .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="" /></a></div>';
+        print '<div align="right"><a href="'. $path .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="'.get_string('rss').'" /></a></div>';
 
     }
 
index 26de63489decdb38692781a10de74077e1b47afa..757ece9ccbf4807e931c9b79f48a3bd0d7f9a4a8 100644 (file)
@@ -18,7 +18,7 @@ function rss_get_link($courseid, $userid, $modulename, $id, $tooltiptext='') {
     $rsspath = rss_get_url($courseid, $userid, $modulename, $id);
     $rsspix = $CFG->pixpath .'/i/rss.gif';
 
-    return '<a href="'. $rsspath .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="" /></a>';
+    return '<a href="'. $rsspath .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="'.get_String('rss').'" /></a>';
 
 }