summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-03-29 13:36:45 -0700
committerChristopher Ng <chrng8@gmail.com>2023-03-29 13:36:45 -0700
commit4f8e916585889b99247d967d51325ac0c840ec59 (patch)
tree67e9b24aa50f033cf88d52f53b648bb2bd30aab4 /core
parentfc371facd202d7ede86f1adb37fc78a8c478deff (diff)
downloadnextcloud-server-4f8e916585889b99247d967d51325ac0c840ec59.tar.gz
nextcloud-server-4f8e916585889b99247d967d51325ac0c840ec59.zip
Add label for logo link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 7c2625bbaaf..1a55c0ab64d 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -62,12 +62,9 @@ p($theme->getTitle());
</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']])); ?>"
id="nextcloud">
- <div class="logo logo-icon">
- <span class="hidden-visually">
- <?php p($l->t('%s homepage', [$theme->getName()])); ?>
- </span>
- </div>
+ <div class="logo logo-icon"></div>
</a>
<nav id="header-left__appmenu"></nav>