Revert "Remove focus from menu items"

This reverts commit eae0f3a7df.
merge-requests/30/head
Bob Mottram 2022-05-24 22:32:37 +01:00
parent eae0f3a7df
commit b1789799fc
1 changed files with 2 additions and 4 deletions

View File

@ -1383,8 +1383,7 @@ def html_keyboard_navigation(banner: str, links: {}, access_keys: {},
# show new follower approvals
if users_path and translate and follow_approvals:
html_str += '<strong><label class="transparent">' + \
'<a href="' + users_path + '/followers#timeline" ' + \
'tabindex="-1">' + \
'<a href="' + users_path + '/followers#timeline">' + \
translate['Approve follow requests'] + '</a>' + \
'</label></strong><br><br>\n'
@ -1395,8 +1394,7 @@ def html_keyboard_navigation(banner: str, links: {}, access_keys: {},
access_key_str = 'accesskey="' + access_keys[title] + '"'
html_str += '<li><label class="transparent">' + \
'<a href="' + str(url) + '" ' + access_key_str + \
' tabindex="-1">' + \
'<a href="' + str(url) + '" ' + access_key_str + '>' + \
str(title) + '</a></label></li>\n'
html_str += '</ul></div>\n'
return html_str