From: sam_marshall Date: Thu, 3 Jul 2008 14:16:22 +0000 (+0000) Subject: MDL-15519: [Accessibility] Added heading tags around current month on monthly calenda... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ed9f9947e832c0126cc3cbebf044163ffb92338f;p=moodle.git MDL-15519: [Accessibility] Added heading tags around current month on monthly calendar view (and changed default styling so this doesn't affect appearance). --- diff --git a/calendar/lib.php b/calendar/lib.php index dc8d4931c1..b9d2dff524 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -753,7 +753,7 @@ function calendar_top_controls($type, $data) { $nextdate = make_timestamp($nextyear, $nextmonth, 1); $content .= "\n".'
'; $content .= calendar_get_link_previous(userdate($prevdate, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&', 1, $prevmonth, $prevyear); - $content .= ' | '.userdate($time, get_string('strftimemonthyear'))."\n"; + $content .= ' |

'.userdate($time, get_string('strftimemonthyear'))."

\n"; $content .= ' | '.calendar_get_link_next(userdate($nextdate, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&', 1, $nextmonth, $nextyear); $content .= "
\n"; break; diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 9021fc2098..7b7540d9ec 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -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;