diff options
-rw-r--r-- | modules/archive.module | 2 | ||||
-rw-r--r-- | modules/archive/archive.module | 2 |
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("«", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("»", "archive/". date("Y/m/d", $next)) : " ") ."</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("«", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("»", "archive/". date("Y/m/d", $next)) : " ") ."</td></tr>\n"; // First day of week (0 => Sunday, 1 => Monday, ...) |