1.1 --- a/EventAggregatorSupport/View.py Mon Jun 17 00:33:34 2013 +0200
1.2 +++ b/EventAggregatorSupport/View.py Mon Jun 17 01:24:30 2013 +0200
1.3 @@ -1644,7 +1644,7 @@
1.4
1.5 # Start of table view output.
1.6
1.7 - append(fmt.table(on=1, attrs={"tableclass" : "event-table"}))
1.8 + append(fmt.table(on=1, attrs={"tableclass" : "event-table", "summary" : _("A table of events")}))
1.9
1.10 append(fmt.table_row(on=1))
1.11 append(fmt.table_cell(on=1, attrs={"class" : "event-table-heading"}))
1.12 @@ -1838,7 +1838,7 @@
1.13 map_identifier = "map-%s" % self.getIdentifier()
1.14 append(fmt.div(on=1, css_class="event-map", id=map_identifier))
1.15
1.16 - append(fmt.table(on=1))
1.17 + append(fmt.table(on=1, attrs={"summary" : _("A map showing events")}))
1.18
1.19 append(self.writeMapTableHeading())
1.20
1.21 @@ -2029,7 +2029,7 @@
1.22
1.23 # Output a month.
1.24
1.25 - append(fmt.table(on=1, attrs={"tableclass" : "event-month"}))
1.26 + append(fmt.table(on=1, attrs={"tableclass" : "event-month", "summary" : _("A table showing a calendar month")}}))
1.27
1.28 # Either write a month heading or produce links for navigable
1.29 # calendars.
1.30 @@ -2062,6 +2062,12 @@
1.31 full_coverage, week_slots = getCoverage(
1.32 getEventsInPeriod(all_shown_events, getCalendarPeriod(week_start, week_end)))
1.33
1.34 + # Make a new table region.
1.35 + # NOTE: Moin opens a "tbody" element in the table method.
1.36 +
1.37 + append(fmt.rawHTML("</tbody>"))
1.38 + append(fmt.rawHTML("<tbody>"))
1.39 +
1.40 # Output a week, starting with the day numbers.
1.41
1.42 append(self.writeDayNumbers(first_day, number_of_days, month, full_coverage))
1.43 @@ -2081,6 +2087,7 @@
1.44 first_day += 7
1.45
1.46 # End of month.
1.47 + # NOTE: Moin closes a "tbody" element in the table method.
1.48
1.49 append(fmt.table(on=0))
1.50
1.51 @@ -2092,7 +2099,7 @@
1.52
1.53 for date in self.first.days_until(self.last):
1.54
1.55 - append(fmt.table(on=1, attrs={"tableclass" : "event-calendar-day"}))
1.56 + append(fmt.table(on=1, attrs={"tableclass" : "event-calendar-day", "summary" : _("A table showing a calendar day")}}))
1.57
1.58 full_coverage, day_slots = getCoverage(
1.59 getEventsInPeriod(all_shown_events, getCalendarPeriod(date, date)), "datetime")