]> git.mjollnir.org Git - moodle.git/commitdiff
Accessibility: validation, missing 'alt' attribute, near $strshowallweeks (OU-Bugz...
authornfreear <nfreear>
Tue, 14 Mar 2006 15:36:48 +0000 (15:36 +0000)
committernfreear <nfreear>
Tue, 14 Mar 2006 15:36:48 +0000 (15:36 +0000)
course/format/weekscss/format.php

index 132149c6dee58c7ab74e77e459f27e5f4bff1392..677d7ef9dbab66addbb99633330db52e59b9d8cd 100644 (file)
 
             if ($displaysection == $section) {
                 echo '<a href="view.php?id='.$course->id.'&amp;week=all#section-'.$section.'" title="'.$strshowallweeks.'">'.
-                     '<img src="'.$CFG->pixpath.'/i/all.gif" height="25" width="16" border="0" /></a><br />';
+                     '<img src="'.$CFG->pixpath.'/i/all.gif" height="25" width="16" border="0" alt="'.$strshowallweeks.'" /></a><br />';
             } else {
                 $strshowonlyweek = get_string("showonlyweek", "", $section);
                 echo '<a href="view.php?id='.$course->id.'&amp;week='.$section.'" title="'.$strshowonlyweek.'">'.