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.
This commit is contained in:
Henning Oschwald 2013-03-15 12:03:11 +01:00
parent 25175937a9
commit 76bb5221c7
1 changed files with 1 additions and 1 deletions

View File

@ -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>