Skip to content

Commit

Permalink
INTERIM-148 Removed section landmark and aria role (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelamnr committed Jan 17, 2018
1 parent 4824f61 commit baacf80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions preprocess/preprocess-section.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ function suitcase_interim_alpha_preprocess_section(&$vars) {
if ($vars['elements']['#section'] == 'header') {
$vars['attributes_array']['role'] = 'banner';
}
if ($vars['elements']['#section'] == 'content') {
$vars['attributes_array']['role'] = 'main';
}
if ($vars['elements']['#section'] == 'footer') {
$vars['attributes_array']['role'] = 'contentinfo';
}
Expand Down
3 changes: 3 additions & 0 deletions templates/section.tpl.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div<?php print $attributes; ?>
<?php print $content; ?>
</div>

0 comments on commit baacf80

Please sign in to comment.