mirror of https://gitlab.com/bashrc2/epicyon
Sequence of skip links
parent
fc0ab024d9
commit
701ca8372b
|
@ -705,14 +705,15 @@ def htmlProfile(rssIconAtTop: bool,
|
|||
movedTo, alsoKnownAs,
|
||||
pinnedContent)
|
||||
|
||||
# Links for keyboard navigation
|
||||
profileStr = \
|
||||
'<div class="transparent">' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a class="skip-main" href="#buttonheader">' + \
|
||||
translate['Skip to timeline'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a href="/users/' + nickname + '/' + defaultTimeline + '">' + \
|
||||
translate['Switch to timeline view'] + '</a></label>' + \
|
||||
translate['Switch to timeline view'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a class="skip-main" href="#buttonheader">' + \
|
||||
translate['Skip to timeline'] + '</a></label>' + \
|
||||
'</div>\n'
|
||||
|
||||
profileStr += profileHeaderStr + donateSection
|
||||
|
|
|
@ -369,6 +369,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
tlStr += \
|
||||
'<div class="transparent">' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a href="/users/' + nickname + '">' + \
|
||||
translate['Switch to profile view'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a class="skip-main" href="#timeline">' + \
|
||||
translate['Skip to timeline'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
|
@ -376,10 +379,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
translate['Skip to Newswire'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a class="skip-links" href="#links">' + \
|
||||
translate['Skip to Links'] + '</a></label> | ' + \
|
||||
'<label class="transparent">' + \
|
||||
'<a href="/users/' + nickname + '">' + \
|
||||
translate['Switch to profile view'] + '</a></label>' + \
|
||||
translate['Skip to Links'] + '</a></label>' + \
|
||||
'</div>\n'
|
||||
|
||||
# banner and row of buttons
|
||||
|
|
Loading…
Reference in New Issue