Semantic emphasis of menu items

main
Bob Mottram 2021-02-06 11:32:14 +00:00
parent f00741ec28
commit 7ce33cef20
1 changed files with 4 additions and 4 deletions

View File

@ -369,16 +369,16 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# keyboard navigation # keyboard navigation
calendarStr = translate['Calendar'] calendarStr = translate['Calendar']
if newCalendarEvent: if newCalendarEvent:
calendarStr = '*' + calendarStr + '*' calendarStr = '<strong>' + calendarStr + '</strong>'
dmStr = translate['DM'] dmStr = translate['DM']
if newDM: if newDM:
dmStr = '*' + dmStr + '*' dmStr = '<strong>' + dmStr + '</strong>'
repliesStr = translate['Replies'] repliesStr = translate['Replies']
if newReply: if newReply:
repliesStr = '*' + repliesStr + '*' repliesStr = '<strong>' + repliesStr + '</strong>'
sharesStr = translate['Shares'] sharesStr = translate['Shares']
if newShare: if newShare:
sharesStr = '*' + sharesStr + '*' sharesStr = '<strong>' + sharesStr + '</strong>'
menuProfile = \ menuProfile = \
htmlHideFromScreenReader('👤') + ' ' + \ htmlHideFromScreenReader('👤') + ' ' + \
translate['Switch to profile view'] translate['Switch to profile view']