summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.guest.php4
-rw-r--r--core/templates/layout.user.php8
2 files changed, 9 insertions, 3 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 34d7a210841..c799205b7cf 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -32,7 +32,9 @@
<header>
<div id="header">
<div class="logo svg">
- <h1><?php p($theme->getName()); ?></h1>
+ <h1 class="hidden-visually">
+ <?php p($theme->getName()); ?>
+ </h1>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 2d601b22933..11e2df71458 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -41,7 +41,11 @@
</div>
<header><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud">
- <div class="logo-icon svg"></div>
+ <div class="logo-icon svg">
+ <h1 class="hidden-visually">
+ <?php p($theme->getName()); ?>
+ </h1>
+ </div>
</a>
<a href="#" class="menutoggle" tabindex="1">
<h1 class="header-appname">
@@ -91,7 +95,7 @@
</div>
<form class="searchbox" action="#" method="post">
- <label for="query" class="visually-hidden">
+ <label for="searchbox" class="hidden-visually">
<?php p($l->t('Search'));?>
</label>
<input id="searchbox" class="svg" type="search" name="query"