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:
parent
25175937a9
commit
76bb5221c7
|
@ -38,7 +38,7 @@
|
||||||
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
|
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
|
||||||
|
|
||||||
<ul id="settings" class="svg">
|
<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>
|
<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')); ?>" />
|
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue