From 7d9dd30e25a9bf95a3d51456302c971c3707983b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 25 May 2022 11:58:43 +0100 Subject: [PATCH] Button tab indexes --- webapp_headerbuttons.py | 12 ++++++------ webapp_timeline.py | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index fe3eb1073..5b38b1bcc 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -269,7 +269,7 @@ def header_buttons_timeline(default_timeline: str, tl_str += \ '' + \ + '" tabindex="3">' + \ '| ' + \
@@ -279,7 +279,7 @@ def header_buttons_timeline(default_timeline: str,
             # the search button
             tl_str += \
                 '<a href=' + \ + '/search" tabindex="3">' + \ '' @@ -319,7 +319,7 @@ def header_buttons_timeline(default_timeline: str, if not icons_as_buttons: tl_str += \ ' ' + \ + users_path + '/minimal" tabindex="3">' + \ '| ' + translate['Show/Hide Buttons'] + \
@@ -327,7 +327,7 @@ def header_buttons_timeline(default_timeline: str,
         else:
             tl_str += \
                 '<a href=' diff --git a/webapp_timeline.py b/webapp_timeline.py index ef6674aeb..2145b7eef 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -107,7 +107,7 @@ def _html_timeline_new_post(manually_approve_followers: bool, if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newdm?nodropdown" tabindex="3">' + \ '' elif box_name in ('tlblogs', 'tlnews', 'tlfeatures'): if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newblog" tabindex="3">' + \ '| ' + \
@@ -131,14 +131,14 @@ def _html_timeline_new_post(manually_approve_followers: bool,
                 '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' elif box_name == 'tlshares': if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newshare?nodropdown" tabindex="3">' + \ '| ' + \
@@ -147,14 +147,14 @@ def _html_timeline_new_post(manually_approve_followers: bool,
         else:
             new_post_button_str += \
                 '<a href=' + \ + '/newshare?nodropdown" tabindex="3">' + \ '' elif box_name == 'tlwanted': if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newwanted?nodropdown" tabindex="3">' + \ '| ' + \
@@ -163,7 +163,7 @@ def _html_timeline_new_post(manually_approve_followers: bool,
         else:
             new_post_button_str += \
                 '<a href=' + \ + '/newwanted?nodropdown" tabindex="3">' + \ '' else: @@ -171,7 +171,7 @@ def _html_timeline_new_post(manually_approve_followers: bool, if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newpost" tabindex="3">' + \ '| ' + \
@@ -179,14 +179,14 @@ def _html_timeline_new_post(manually_approve_followers: bool,
                     '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' else: if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newfollowers" tabindex="3">' + \ '' + \ + '/newfollowers" tabindex="3">' + \ '' return new_post_button_str