summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-07-27 16:23:43 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-07-28 11:20:34 +0200
commitf22427be89df89655064e3e728df95cdabae327e (patch)
treeaa75a582f8878373c5309e3112ca4cb94111590b /core
parent472f4cad47f832ac0807ac3c4aa33d60a5bcbf31 (diff)
downloadnextcloud-server-f22427be89df89655064e3e728df95cdabae327e.tar.gz
nextcloud-server-f22427be89df89655064e3e728df95cdabae327e.zip
Transfer `aria-label` from nav settings menu to settings menu icon-button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 6475845321d..c7eb2fde5ad 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -144,7 +144,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
</div>
<div id="settings">
<div id="expand" tabindex="0" role="button" class="menutoggle"
- aria-label="<?php p($l->t('Settings'));?>"
+ aria-label="<?php p($l->t('Open settings menu'));?>"
aria-haspopup="true" aria-controls="expanddiv" aria-expanded="false">
<div id="avatardiv-menu" class="avatardiv<?php if ($_['userAvatarSet']) {
print_unescaped(' avatardiv-shown');
@@ -167,8 +167,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
<?php } ?>
</div>
</div>
- <nav class="settings-menu" id="expanddiv" style="display:none;"
- aria-label="<?php p($l->t('Settings menu'));?>">
+ <nav class="settings-menu" id="expanddiv" style="display:none;">
<ul>
<?php foreach ($_['settingsnavigation'] as $entry):?>
<li data-id="<?php p($entry['id']); ?>">