summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorHenning Oschwald <h.oschwald@gmx.de>2013-03-15 12:03:11 +0100
committerHenning Oschwald <h.oschwald@gmx.de>2013-03-16 16:32:55 +0100
commit76bb5221c7a1b71f0d617c55e844c51e889a2c70 (patch)
tree70db6ac5e9740a763d69b435d214ee7179bcbd52 /core/templates
parent25175937a9a810ad0aadab473f936d27e914abab (diff)
downloadnextcloud-server-76bb5221c7a1b71f0d617c55e844c51e889a2c70.tar.gz
nextcloud-server-76bb5221c7a1b71f0d617c55e844c51e889a2c70.zip
Restores keyboard accessibility for expandable settings area.
Tabindex="0" makes the element focussable with the keyboard and role="link" tells assistive technologies that this clickable span element is supposed to be presented as a hyperlink.
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 982efb412b6..9af56b72c33 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -38,7 +38,7 @@
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
<ul id="settings" class="svg">
- <span id="expand">
+ <span id="expand" tabindex="0" role="link">
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
</span>