Tab indexes on columns

main
Bob Mottram 2022-05-25 11:13:26 +01:00
parent 099a1fbee9
commit 85e9adf41b
2 changed files with 7 additions and 6 deletions

View File

@ -158,7 +158,7 @@ def html_front_screen(signing_priv_key_pem: str,
' </colgroup>\n' + \ ' </colgroup>\n' + \
' <tbody>\n' + \ ' <tbody>\n' + \
' <tr>\n' + \ ' <tr>\n' + \
' <td valign="top" class="col-left">\n' ' <td valign="top" class="col-left" tabindex="2">\n'
profile_header_str += \ profile_header_str += \
get_left_column_content(base_dir, 'news', domain_full, get_left_column_content(base_dir, 'news', domain_full,
http_prefix, translate, http_prefix, translate,
@ -168,7 +168,7 @@ def html_front_screen(signing_priv_key_pem: str,
shared_items_federated_domains) shared_items_federated_domains)
profile_header_str += \ profile_header_str += \
' </td>\n' + \ ' </td>\n' + \
' <td valign="top" class="col-center">\n' ' <td valign="top" class="col-center" tabindex="1">\n'
profile_str = profile_header_str profile_str = profile_header_str
@ -199,7 +199,8 @@ def html_front_screen(signing_priv_key_pem: str,
# Footer which is only used for system accounts # Footer which is only used for system accounts
profile_footer_str = ' </td>\n' profile_footer_str = ' </td>\n'
profile_footer_str += ' <td valign="top" class="col-right">\n' profile_footer_str += \
' <td valign="top" class="col-right" tabindex="3">\n'
profile_footer_str += \ profile_footer_str += \
get_right_column_content(base_dir, 'news', domain_full, get_right_column_content(base_dir, 'news', domain_full,
http_prefix, translate, http_prefix, translate,

View File

@ -395,7 +395,7 @@ def _html_timeline_end(base_dir: str, nickname: str, domain_full: str,
authorized, True, theme, authorized, True, theme,
default_timeline, access_keys) default_timeline, access_keys)
tl_str += ' <td valign="top" class="col-right" ' + \ tl_str += ' <td valign="top" class="col-right" ' + \
'id="newswire" tabindex="-1">\n' + \ 'id="newswire" tabindex="3">\n' + \
' <aside>\n' + \ ' <aside>\n' + \
right_column_str + \ right_column_str + \
' </aside>\n' + \ ' </aside>\n' + \
@ -792,14 +792,14 @@ def html_timeline(css_cache: {}, default_timeline: str,
True, False, theme, access_keys, True, False, theme, access_keys,
shared_items_federated_domains) shared_items_federated_domains)
tl_str += ' <td valign="top" class="col-left" ' + \ tl_str += ' <td valign="top" class="col-left" ' + \
'id="links" tabindex="-1">\n' + \ 'id="links" tabindex="2">\n' + \
' <aside>\n' + \ ' <aside>\n' + \
left_column_str + \ left_column_str + \
' </aside>\n' + \ ' </aside>\n' + \
' </td>\n' ' </td>\n'
# center column containing posts # center column containing posts
tl_str += ' <td valign="top" class="col-center">\n' tl_str += ' <td valign="top" class="col-center" tabindex="1">\n'
if not full_width_tl_button_header: if not full_width_tl_button_header:
tl_str += \ tl_str += \