summaryrefslogtreecommitdiff
path: root/themes/garland
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-16 19:47:45 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-16 19:47:45 +0000
commit8e3e0036357335a339c55bf50d63c0d7ad13fc92 (patch)
tree8422bb70f0fe578701a216b48e2c350d0542c516 /themes/garland
parenta9a20867ad14dfea23f61ec0d0068934653a4941 (diff)
downloadbrdo-8e3e0036357335a339c55bf50d63c0d7ad13fc92.tar.gz
brdo-8e3e0036357335a339c55bf50d63c0d7ad13fc92.tar.bz2
- Patch #883092 by Everett Zufelt, mgifford, Jacine: add heading before local tasks for screen-reader users.
Diffstat (limited to 'themes/garland')
-rw-r--r--themes/garland/page.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php
index a9d86f0d8..6dc50c2d5 100644
--- a/themes/garland/page.tpl.php
+++ b/themes/garland/page.tpl.php
@@ -47,8 +47,8 @@
<h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1>
<?php endif; ?>
<?php print render($title_suffix); ?>
- <?php if ($tabs): ?><ul class="tabs primary"><?php print render($tabs) ?></ul></div><?php endif; ?>
- <?php if ($tabs2): ?><ul class="tabs secondary"><?php print render($tabs2) ?></ul><?php endif; ?>
+ <?php if ($tabs): ?><h2 class="element-invisible"><?php print t('Primary tabs'); ?></h2><ul class="tabs primary"><?php print render($tabs) ?></ul></div><?php endif; ?>
+ <?php if ($tabs2): ?><h2 class="element-invisible"><?php print t('Secondary tabs'); ?></h2><ul class="tabs secondary"><?php print render($tabs2) ?></ul><?php endif; ?>
<?php print $messages; ?>
<?php print render($page['help']); ?>
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>