]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15519: [Accessibility] Added heading tags around current month on monthly calenda...
authorsam_marshall <sam_marshall>
Thu, 3 Jul 2008 14:16:22 +0000 (14:16 +0000)
committersam_marshall <sam_marshall>
Thu, 3 Jul 2008 14:16:22 +0000 (14:16 +0000)
calendar/lib.php
theme/standard/styles_fonts.css

index dc8d4931c186d59f7cc54890ab3837e0fce64063..b9d2dff524d0580ebb4f1bf693cdb7c1755d81d1 100644 (file)
@@ -753,7 +753,7 @@ function calendar_top_controls($type, $data) {
             $nextdate = make_timestamp($nextyear, $nextmonth, 1);
             $content .= "\n".'<div class="calendar-controls">';
             $content .= calendar_get_link_previous(userdate($prevdate, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&amp;', 1, $prevmonth, $prevyear);
-            $content .= '<span class="hide"> | </span><span class="current">'.userdate($time, get_string('strftimemonthyear'))."</span>\n";
+            $content .= '<span class="hide"> | </span><h1 class="current">'.userdate($time, get_string('strftimemonthyear'))."</h1>\n";
             $content .= '<span class="hide"> | </span>'.calendar_get_link_next(userdate($nextdate, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&amp;', 1, $nextmonth, $nextyear);
             $content .= "<span class=\"clearer\"><!-- --></span></div>\n";
         break;
index 9021fc209805d30d4021c5d1968c7d59ddfe18d8..7b7540d9ecf68c5bf65c8d03200828aac1d3649a 100644 (file)
@@ -451,6 +451,11 @@ a.skip-block {
 #calendar .maincalendar .day {
   font-weight: bold;
 }
+#calendar h1 {
+       font-size:1.0em;
+       margin:0;
+}
 
 table.minicalendar {
   font-size:0.85em;