summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-03-16 01:07:55 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-05-16 13:21:48 +0200
commitc1499519d4a57859fa69098a743430a2dc068800 (patch)
treec10816498597e9850140b4d975d68c47bdffd817 /core/templates
parentad405e93767cfaf0ba34011010bb26dc4c05f60a (diff)
downloadnextcloud-server-c1499519d4a57859fa69098a743430a2dc068800.tar.gz
nextcloud-server-c1499519d4a57859fa69098a743430a2dc068800.zip
Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 0b06dff087e..82626733bd2 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -61,7 +61,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
id="nextcloud">
<div class="logo logo-icon">
<h1 class="hidden-visually">
- <?php p($theme->getName()); ?> <?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
+ <?php p($l->t('%s\'s homepage', [$theme->getName()])); ?>
</h1>
</div>
</a>
@@ -136,7 +136,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
<div id="notifications"></div>
<div id="unified-search"></div>
<div id="contactsmenu">
- <div class="icon-contacts menutoggle" tabindex="0" role="button"
+ <div class="menutoggle" tabindex="0" role="button"
aria-haspopup="true" aria-controls="contactsmenu-menu" aria-expanded="false">
<span class="hidden-visually"><?php p($l->t('Contacts'));?></span>
</div>