MDL-30890 accessibility compliance: add summary to calendar table

This commit is contained in:
Rossiani Wijaya
2012-03-15 17:12:00 +08:00
parent c91704eddb
commit e77f635b84
+2
View File
@@ -413,6 +413,8 @@ class core_calendar_renderer extends plugin_renderer_base {
$table = new html_table();
$table->attributes = array('class'=>'calendarmonth calendartable');
$time = make_timestamp($calendar->year, $calendar->month);
$table->summary = get_string('calendarheading', 'calendar', userdate($time, get_string('strftimemonthyear')));
$table->data = array();
$header = new html_table_row();