Blogs access key

merge-requests/30/head
Bob Mottram 2022-05-24 23:07:29 +01:00
parent 02796937b2
commit a6bac4ffaf
1 changed files with 4 additions and 4 deletions

View File

@ -72,8 +72,8 @@ def header_buttons_timeline(default_timeline: str,
tl_str += ' aria-current="location"' tl_str += ' aria-current="location"'
tl_str += \ tl_str += \
'><button class="' + \ '><button class="' + \
blogs_button + '"><span>' + translate['Blogs'] + \ blogs_button + '" accesskey="' + access_keys['menuBlogs'] + \
'</span></button></a>' '"><span>' + translate['Blogs'] + '</span></button></a>'
elif default_timeline == 'tlfeatures': elif default_timeline == 'tlfeatures':
tl_str += \ tl_str += \
'<a href="' + users_path + \ '<a href="' + users_path + \
@ -162,8 +162,8 @@ def header_buttons_timeline(default_timeline: str,
if box_name == 'tlblogs': if box_name == 'tlblogs':
tl_str += ' aria-current="location"' tl_str += ' aria-current="location"'
tl_str += \ tl_str += \
'><button class="' + \ '><button class="' + blogs_button + '" accesskey="' + \
blogs_button + '"><span>' + title_str + \ access_keys['menuBlogs'] + '"><span>' + title_str + \
'</span></button></a>' '</span></button></a>'
else: else:
if not minimal: if not minimal: