mirror of https://gitlab.com/bashrc2/epicyon
Profile screen access key
parent
dcf059db0b
commit
aeee56ae38
|
@ -422,7 +422,7 @@ def _get_profile_header(base_dir: str, http_prefix: str,
|
|||
'\n\n <figure class="profileHeader">\n' + \
|
||||
' <a href="/users/' + \
|
||||
nickname + '/' + default_timeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '">\n' + \
|
||||
translate['Switch to timeline view'] + '" tabindex="1">\n' + \
|
||||
' <img class="profileBackground" ' + \
|
||||
'alt="" ' + \
|
||||
'src="/users/' + nickname + '/image_' + theme + '.png" /></a>\n' + \
|
||||
|
@ -526,7 +526,7 @@ def _get_profile_header_after_search(base_dir: str,
|
|||
' <a href="/users/' + \
|
||||
nickname + '/' + default_timeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '" ' + \
|
||||
'accesskey="' + access_keys['menuTimeline'] + '">\n' + \
|
||||
'accesskey="' + access_keys['menuTimeline'] + '" tabindex="1">\n' + \
|
||||
' <img class="profileBackground" ' + \
|
||||
'alt="" ' + \
|
||||
'src="' + image_url + '" /></a>\n' + \
|
||||
|
|
|
@ -753,7 +753,8 @@ def html_timeline(css_cache: {}, default_timeline: str,
|
|||
'<a href="/users/' + nickname + '" title="' + \
|
||||
translate['Switch to profile view'] + '" alt="' + \
|
||||
translate['Switch to profile view'] + '" ' + \
|
||||
'aria-flowto="containerHeader" tabindex="1">\n'
|
||||
'aria-flowto="containerHeader" tabindex="1" accesskey="' + \
|
||||
access_keys['menuProfile'] + '">\n'
|
||||
tl_str += '<img loading="lazy" decoding="async" ' + \
|
||||
'class="timeline-banner" alt="" ' + \
|
||||
'src="' + users_path + '/' + banner_file + '" /></a>\n' + \
|
||||
|
|
Loading…
Reference in New Issue