Commit f0d3dcfa authored by catch's avatar catch

Issue #1643410 by mgifford, mparker17: Add ARIA landmarks for Seven theme.

parent 3e9be681
...@@ -16,22 +16,24 @@ ...@@ -16,22 +16,24 @@
* @ingroup themeable * @ingroup themeable
*/ */
?> ?>
<div id="branding" class="clearfix"> <div id="branding" class="clearfix" role="navigation">
<?php print $breadcrumb; ?> <?php print $breadcrumb; ?>
<?php print render($title_prefix); ?> <?php print render($title_prefix); ?>
<?php if ($title): ?> <?php if ($title): ?>
<h1 class="page-title"><?php print $title; ?></h1> <h1 class="page-title"><?php print $title; ?></h1>
<?php endif; ?> <?php endif; ?>
<?php print render($title_suffix); ?> <?php print render($title_suffix); ?>
<?php print render($primary_local_tasks); ?> <?php if ($primary_local_tasks): ?>
<?php print '<div role="tab">' . render($primary_local_tasks) . '</div>'; ?>
<?php endif; ?>
</div> </div>
<div id="page"> <div id="page">
<?php if ($secondary_local_tasks): ?> <?php if ($secondary_local_tasks): ?>
<div class="tabs-secondary clearfix"><?php print render($secondary_local_tasks); ?></div> <div class="tabs-secondary clearfix" role="navigation"><?php print render($secondary_local_tasks); ?></div>
<?php endif; ?> <?php endif; ?>
<div id="content" class="clearfix"> <div id="content" class="clearfix" role="main">
<div class="element-invisible"><a id="main-content"></a></div> <div class="element-invisible"><a id="main-content"></a></div>
<?php if ($messages): ?> <?php if ($messages): ?>
<div id="console" class="clearfix"><?php print $messages; ?></div> <div id="console" class="clearfix"><?php print $messages; ?></div>
...@@ -45,7 +47,7 @@ ...@@ -45,7 +47,7 @@
<?php print render($page['content']); ?> <?php print render($page['content']); ?>
</div> </div>
<div id="footer"> <div id="footer" role="contentinfo">
<?php print $feed_icons; ?> <?php print $feed_icons; ?>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment