Skip to content
Snippets Groups Projects
Commit f0d3dcfa authored by catch's avatar catch
Browse files

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

parent 3e9be681
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -16,22 +16,24 @@
* @ingroup themeable
*/
?>
<div id="branding" class="clearfix">
<div id="branding" class="clearfix" role="navigation">
<?php print $breadcrumb; ?>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<h1 class="page-title"><?php print $title; ?></h1>
<?php endif; ?>
<?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 id="page">
<?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; ?>
<div id="content" class="clearfix">
<div id="content" class="clearfix" role="main">
<div class="element-invisible"><a id="main-content"></a></div>
<?php if ($messages): ?>
<div id="console" class="clearfix"><?php print $messages; ?></div>
......@@ -45,7 +47,7 @@
<?php print render($page['content']); ?>
</div>
<div id="footer">
<div id="footer" role="contentinfo">
<?php print $feed_icons; ?>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment