diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-16 19:47:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-16 19:47:45 +0000 |
commit | 8e3e0036357335a339c55bf50d63c0d7ad13fc92 (patch) | |
tree | 8422bb70f0fe578701a216b48e2c350d0542c516 /themes/seven/page.tpl.php | |
parent | a9a20867ad14dfea23f61ec0d0068934653a4941 (diff) | |
download | brdo-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/seven/page.tpl.php')
-rw-r--r-- | themes/seven/page.tpl.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/themes/seven/page.tpl.php b/themes/seven/page.tpl.php index 962bf7868..430f83ccb 100644 --- a/themes/seven/page.tpl.php +++ b/themes/seven/page.tpl.php @@ -9,11 +9,17 @@ <h1 class="page-title"><?php print $title; ?></h1> <?php endif; ?> <?php print render($title_suffix); ?> - <?php if ($primary_local_tasks): ?><ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul><?php endif; ?> + <?php if ($primary_local_tasks): ?> + <h2 class="element-invisible"><?php print t('Primary tabs'); ?></h2> + <ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul> + <?php endif; ?> </div> <div id="page"> - <?php if ($secondary_local_tasks): ?><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul><?php endif; ?> + <?php if ($secondary_local_tasks): ?> + <h2 class="element-invisible"><?php print t('Secondary tabs'); ?></h2> + <ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul> + <?php endif; ?> <div id="content" class="clearfix"> <?php if ($messages): ?> |