mirror of https://gitlab.com/bashrc2/epicyon
Semantic markup for calendar event
parent
cd650026fb
commit
6dc8c1d49a
|
@ -499,7 +499,8 @@ def html_calendar(person_cache: {}, css_cache: {}, translate: {},
|
|||
# accessibility menu links
|
||||
menu_option_str = \
|
||||
html_hide_from_screen_reader('📅') + ' ' + \
|
||||
day_description
|
||||
'<time datetime="' + datetime_str + '">' + \
|
||||
day_description + '</time>'
|
||||
nav_links[menu_option_str] = url
|
||||
# there are events for this day
|
||||
if not is_today:
|
||||
|
|
Loading…
Reference in New Issue