Semantic markup for calendar event

merge-requests/30/head
Bob Mottram 2022-05-23 17:27:04 +01:00
parent cd650026fb
commit 6dc8c1d49a
1 changed files with 2 additions and 1 deletions

View File

@ -499,7 +499,8 @@ def html_calendar(person_cache: {}, css_cache: {}, translate: {},
# accessibility menu links # accessibility menu links
menu_option_str = \ menu_option_str = \
html_hide_from_screen_reader('📅') + ' ' + \ html_hide_from_screen_reader('📅') + ' ' + \
day_description '<time datetime="' + datetime_str + '">' + \
day_description + '</time>'
nav_links[menu_option_str] = url nav_links[menu_option_str] = url
# there are events for this day # there are events for this day
if not is_today: if not is_today: