From 76bb5221c7a1b71f0d617c55e844c51e889a2c70 Mon Sep 17 00:00:00 2001 From: Henning Oschwald <h.oschwald@gmx.de> Date: Fri, 15 Mar 2013 12:03:11 +0100 Subject: [PATCH] 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. --- core/templates/layout.user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 982efb412b..9af56b72c3 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> -- GitLab