Add title attribute to calendar plot for accessibility

This commit is contained in:
Edgar P. Burkhart 2024-01-02 16:58:24 +01:00
parent 6b08113f60
commit 65d97f523c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -60,7 +60,8 @@
{% endif %}
{% if m %}
<td class="{% if m.sum > 0 %}p{% else %}m{% endif %}"
style="opacity: {% calendar_opacity m.sum history.max.sum %}"></td>
style="opacity: {% calendar_opacity m.sum history.max.sum %}"
title="{{ m.sum|pmrvalue }}"></td>
{% else %}
<td></td>
{% endif %}