mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-30890 accessibility compliance: add summary to calendar table
This commit is contained in:
parent
23778a4dfa
commit
89c7c7a999
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user