mirror of https://gitlab.com/bashrc2/epicyon
Remove alt descriptions on images
parent
67b8c58b0a
commit
5387df1c09
|
@ -90,8 +90,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
htmlStr += \
|
||||
'\n <center>\n' + \
|
||||
' <img class="leftColImg" ' + \
|
||||
'alt="' + translate['Left column image'] + '" ' + \
|
||||
'loading="lazy" src="/users/' + \
|
||||
'alt="" loading="lazy" src="/users/' + \
|
||||
nickname + '/' + leftImageFile + '" />\n' + \
|
||||
' </center>\n'
|
||||
|
||||
|
@ -269,6 +268,7 @@ def htmlLinksMobile(cssCache: {}, baseDir: str,
|
|||
htmlStr += \
|
||||
'<a href="/users/' + nickname + '/' + defaultTimeline + '">' + \
|
||||
'<img loading="lazy" class="timeline-banner" ' + \
|
||||
'alt="' + translate['Switch to timeline view'] + '" ' + \
|
||||
'src="/users/' + nickname + '/' + bannerFile + '" /></a>\n'
|
||||
|
||||
htmlStr += '<div class="col-left-mobile">\n'
|
||||
|
@ -334,7 +334,8 @@ def htmlEditLinks(cssCache: {}, translate: {}, baseDir: str, path: str,
|
|||
'<a href="/users/' + nickname + '/' + defaultTimeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '" alt="' + \
|
||||
translate['Switch to timeline view'] + '">\n'
|
||||
editLinksForm += '<img loading="lazy" class="timeline-banner" src="' + \
|
||||
editLinksForm += '<img loading="lazy" class="timeline-banner" ' + \
|
||||
'alt = "" src="' + \
|
||||
'/users/' + nickname + '/' + bannerFile + '" /></a>\n' + \
|
||||
'</header>\n'
|
||||
|
||||
|
|
|
@ -92,8 +92,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
htmlStr += \
|
||||
'\n <center>\n' + \
|
||||
' <img class="rightColImg" ' + \
|
||||
'alt="' + translate['Right column image'] + '" ' + \
|
||||
'loading="lazy" src="/users/' + \
|
||||
'alt="" loading="lazy" src="/users/' + \
|
||||
nickname + '/' + rightImageFile + '" />\n' + \
|
||||
' </center>\n'
|
||||
|
||||
|
@ -359,8 +358,7 @@ def htmlCitations(baseDir: str, nickname: str, domain: str,
|
|||
translate['Go Back'] + '" alt="' + \
|
||||
translate['Go Back'] + '">\n'
|
||||
htmlStr += '<img loading="lazy" class="timeline-banner" ' + \
|
||||
'alt="' + translate['Timeline banner image'] + '" ' + \
|
||||
'src="' + \
|
||||
'alt="" src="' + \
|
||||
'/users/' + nickname + '/' + bannerFile + '" /></a>\n'
|
||||
|
||||
htmlStr += \
|
||||
|
|
|
@ -389,7 +389,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
translate['Switch to profile view'] + '" alt="' + \
|
||||
translate['Switch to profile view'] + '">\n'
|
||||
tlStr += '<img loading="lazy" class="timeline-banner" ' + \
|
||||
'alt="' + translate['Timeline banner image'] + '" ' + \
|
||||
'alt="" ' + \
|
||||
'src="' + usersPath + '/' + bannerFile + '" /></a>\n' + \
|
||||
'</header>\n'
|
||||
|
||||
|
|
Loading…
Reference in New Issue