From fc7bb70401014b24fdb127acd8dbd708d8d7ab96 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 25 May 2022 11:54:35 +0100 Subject: [PATCH] Timeline buttons have same tab index --- webapp_headerbuttons.py | 48 ++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 93c03dbb8..fe3eb1073 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -102,7 +102,7 @@ def header_buttons_timeline(default_timeline: str, if not features_header: tl_str += \ - '' + \ + '?day=' + str(now.day) + '" tabindex="2">' + \ '' else: happening_str += \ '' + \ + '?day=' + str(now.day) + '" tabindex="2">' + \ '' @@ -221,27 +221,27 @@ def header_buttons_timeline(default_timeline: str, happening_str += \ '' + \ + '?day=' + str(tomorrow.day) + '" tabindex="2">' + \ '' else: happening_str += \ '' + \ + '?day=' + str(tomorrow.day) + '" tabindex="2">' + \ '' elif day_events_check(base_dir, nickname, domain, twodays): if not icons_as_buttons: happening_str += \ '' + \ + '/calendar" tabindex="2">' + \ '' else: happening_str += \ '' + \ + '/calendar" tabindex="2">' + \ '' @@ -253,7 +253,7 @@ def header_buttons_timeline(default_timeline: str, tl_str += ' aria-current="location"' tl_str += \ '>' @@ -269,7 +269,7 @@ def header_buttons_timeline(default_timeline: str, tl_str += \ '' + \ + '" tabindex="2">' + \ '| ' + \
@@ -279,7 +279,7 @@ def header_buttons_timeline(default_timeline: str,
             # the search button
             tl_str += \
                 '<a href=' + \ + '/search" tabindex="2">' + \ '' @@ -319,7 +319,7 @@ def header_buttons_timeline(default_timeline: str, if not icons_as_buttons: tl_str += \ ' ' + \ + users_path + '/minimal" tabindex="2">' + \ '| ' + translate['Show/Hide Buttons'] + \
@@ -327,13 +327,13 @@ def header_buttons_timeline(default_timeline: str,
         else:
             tl_str += \
                 '<a href=' if features_header: tl_str += \ - '' @@ -372,13 +372,13 @@ def header_buttons_timeline(default_timeline: str, tl_str += \ '' if features_header: tl_str += \ - '' + \ + '' + \ ''