Browse Source

Move heading to the main content

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
tags/v27.0.0beta1
julia.kirschenheuter 1 year ago
parent
commit
541607349b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      core/templates/layout.user.php

+ 3
- 3
core/templates/layout.user.php View File

@@ -57,9 +57,6 @@ p($theme->getTitle());
</div>

<header role="banner" id="header">
<h1 class="hidden-visually" id="page-heading-level-1">
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
</h1>
<div class="header-left">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>"
@@ -89,6 +86,9 @@ p($theme->getTitle());
</form>

<main id="content" class="app-<?php p($_['appid']) ?>">
<h1 class="hidden-visually" id="page-heading-level-1">
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
</h1>
<?php print_unescaped($_['content']); ?>
</main>
<div id="profiler-toolbar"></div>

Loading…
Cancel
Save