summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-02-09 14:00:01 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-02-13 09:17:24 +0100
commit2b39261b628ffa60aab25b5b86a25e01449f9c10 (patch)
tree6746a70da1df087e784feabe982adb21ef5e31ec
parent06f0da6d46e360c8ec08bbbf906515e84009e768 (diff)
downloadnextcloud-server-2b39261b628ffa60aab25b5b86a25e01449f9c10.tar.gz
nextcloud-server-2b39261b628ffa60aab25b5b86a25e01449f9c10.zip
Create an accessible name for logo on logged in page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
-rw-r--r--core/templates/layout.user.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 951f0dabe21..8b11f61580f 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -60,7 +60,11 @@ p($theme->getTitle());
<div class="header-left">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
id="nextcloud">
- <div class="logo logo-icon"></div>
+ <div class="logo logo-icon">
+ <span class="hidden-visually">
+ <?php p($l->t('%s homepage', [$theme->getName()])); ?>
+ </span>
+ </div>
</a>
<nav id="header-left__appmenu"></nav>