summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/archive.module2
-rw-r--r--modules/archive/archive.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/archive.module b/modules/archive.module
index 5458914d1..8fd216d49 100644
--- a/modules/archive.module
+++ b/modules/archive.module
@@ -82,7 +82,7 @@ function archive_calendar($original = 0) {
// Generate calendar header:
$output .= "\n<!-- calendar -->\n";
$output .= "<div class=\"calendar\">";
- $output .= "<table>\n";
+ $output .= "<table summary=\"". t('A calendar to browse the archives') .".\">\n";
$output .= " <tr><td colspan=\"7\" class=\"header-month\">". l("&laquo;", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("&raquo;", "archive/". date("Y/m/d", $next)) : "&nbsp;") ."</td></tr>\n";
// First day of week (0 => Sunday, 1 => Monday, ...)
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index 5458914d1..8fd216d49 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -82,7 +82,7 @@ function archive_calendar($original = 0) {
// Generate calendar header:
$output .= "\n<!-- calendar -->\n";
$output .= "<div class=\"calendar\">";
- $output .= "<table>\n";
+ $output .= "<table summary=\"". t('A calendar to browse the archives') .".\">\n";
$output .= " <tr><td colspan=\"7\" class=\"header-month\">". l("&laquo;", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("&raquo;", "archive/". date("Y/m/d", $next)) : "&nbsp;") ."</td></tr>\n";
// First day of week (0 => Sunday, 1 => Monday, ...)