Use flowto instead of tabindex

main
Bob Mottram 2022-05-25 10:43:14 +01:00
parent 17bf618633
commit 099a1fbee9
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def header_buttons_timeline(default_timeline: str,
buttons for inbox, outbox, search, calendar, etc buttons for inbox, outbox, search, calendar, etc
""" """
# start of the button header with inbox, outbox, etc # start of the button header with inbox, outbox, etc
tl_str = '<div class="containerHeader"><nav>\n' tl_str = '<div id="containerHeader" class="containerHeader"><nav>\n'
# first button # first button
if default_timeline == 'tlmedia': if default_timeline == 'tlmedia':
tl_str += \ tl_str += \

View File

@ -747,7 +747,7 @@ def html_timeline(css_cache: {}, default_timeline: str,
'<header>\n' + \ '<header>\n' + \
'<a href="/users/' + nickname + '" title="' + \ '<a href="/users/' + nickname + '" title="' + \
translate['Switch to profile view'] + '" alt="' + \ translate['Switch to profile view'] + '" alt="' + \
translate['Switch to profile view'] + '">\n' translate['Switch to profile view'] + '" aria-flowto="containerHeader">\n'
tl_str += '<img loading="lazy" decoding="async" ' + \ tl_str += '<img loading="lazy" decoding="async" ' + \
'class="timeline-banner" alt="" ' + \ 'class="timeline-banner" alt="" ' + \
'src="' + users_path + '/' + banner_file + '" /></a>\n' + \ 'src="' + users_path + '/' + banner_file + '" /></a>\n' + \