mirror of https://gitlab.com/bashrc2/epicyon
Tab index for extra buttons
parent
7d9dd30e25
commit
21e784216e
|
@ -678,7 +678,7 @@ def html_timeline(css_cache: {}, default_timeline: str,
|
||||||
moderation_button_str += ' aria-current="location"'
|
moderation_button_str += ' aria-current="location"'
|
||||||
moderation_button_str += \
|
moderation_button_str += \
|
||||||
'><button class="' + \
|
'><button class="' + \
|
||||||
moderation_button + '"><span>' + \
|
moderation_button + '" tabindex="2"><span>' + \
|
||||||
html_highlight_label(translate['Mod'], new_report) + \
|
html_highlight_label(translate['Mod'], new_report) + \
|
||||||
' </span></button></a>'
|
' </span></button></a>'
|
||||||
|
|
||||||
|
@ -693,13 +693,13 @@ def html_timeline(css_cache: {}, default_timeline: str,
|
||||||
if box_name == 'tlshares':
|
if box_name == 'tlshares':
|
||||||
shares_button_str += ' aria-current="location"'
|
shares_button_str += ' aria-current="location"'
|
||||||
shares_button_str += \
|
shares_button_str += \
|
||||||
'><button class="' + shares_button + '"><span>' + \
|
'><button class="' + shares_button + '" tabindex="2"><span>' + \
|
||||||
html_highlight_label(translate['Shares'], new_share) + \
|
html_highlight_label(translate['Shares'], new_share) + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
wanted_button_str = \
|
wanted_button_str = \
|
||||||
'<a href="' + users_path + '/tlwanted"><button class="' + \
|
'<a href="' + users_path + '/tlwanted"><button class="' + \
|
||||||
wanted_button + '"'
|
wanted_button + '" tabindex="2"'
|
||||||
if box_name == 'tlwanted':
|
if box_name == 'tlwanted':
|
||||||
wanted_button_str += ' aria-current="location"'
|
wanted_button_str += ' aria-current="location"'
|
||||||
wanted_button_str += \
|
wanted_button_str += \
|
||||||
|
@ -713,8 +713,8 @@ def html_timeline(css_cache: {}, default_timeline: str,
|
||||||
bookmarks_button_str += ' aria-current="location"'
|
bookmarks_button_str += ' aria-current="location"'
|
||||||
bookmarks_button_str += \
|
bookmarks_button_str += \
|
||||||
'><button class="' + \
|
'><button class="' + \
|
||||||
bookmarks_button + '"><span>' + translate['Bookmarks'] + \
|
bookmarks_button + '" tabindex="2">' + \
|
||||||
'</span></button></a>'
|
'<span>' + translate['Bookmarks'] + '</span></button></a>'
|
||||||
|
|
||||||
instance_title = \
|
instance_title = \
|
||||||
get_config_param(base_dir, 'instanceTitle')
|
get_config_param(base_dir, 'instanceTitle')
|
||||||
|
|
Loading…
Reference in New Issue