diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-22 13:45:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-22 13:45:37 +0000 |
commit | 73a72337bb4c296211c5cb728b027ad0fefa85ed (patch) | |
tree | 6048bede0556418a8cfa72f03d75e575da9612ac /modules/system | |
parent | 0ac8abb27f52669e1375fea2e11389e58315bb61 (diff) | |
download | brdo-73a72337bb4c296211c5cb728b027ad0fefa85ed.tar.gz brdo-73a72337bb4c296211c5cb728b027ad0fefa85ed.tar.bz2 |
- Patch #364219 by Everett Zufelt, brandonojc, jmburnz, mgifford: for accessibility, navigation menus should be preceded by headings of the appropriate level.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/page.tpl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php index 7b4cc420e..ef8cfdf4a 100644 --- a/modules/system/page.tpl.php +++ b/modules/system/page.tpl.php @@ -154,7 +154,7 @@ <?php if ($main_menu): ?> <div id="navigation"><div class="section"> - <?php print theme('links', $main_menu, array('id' => 'main-menu', 'class' => 'links clearfix')); ?> + <?php print theme('links', $main_menu, array('text' => t('Main menu'), 'level' => 'h2'), array('id' => 'main-menu', 'class' => 'links clearfix')); ?> </div></div> <!-- /.section, /#navigation --> <?php endif; ?> @@ -192,7 +192,7 @@ </div></div> <!-- /#main, /#main-wrapper --> <div id="footer"><div class="section"> - <?php print theme('links', $secondary_menu, array('id' => 'secondary-menu', 'class' => 'links clearfix')); ?> + <?php print theme('links', $secondary_menu, array('text' => t('Secondary menu'), 'level' => 'h2'), array('id' => 'secondary-menu', 'class' => 'links clearfix')); ?> <?php if ($footer): ?><div id="footer-region" class="region"><?php print $footer; ?></div><?php endif; ?> </div></div> <!-- /.section, /#footer --> |