From 65d97f523c20f1b619362ada679648792b40e389 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 2 Jan 2024 16:58:24 +0100 Subject: [PATCH] Add title attribute to calendar plot for accessibility --- nummi/history/templates/history/plot.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nummi/history/templates/history/plot.html b/nummi/history/templates/history/plot.html index fdc756d..8501506 100644 --- a/nummi/history/templates/history/plot.html +++ b/nummi/history/templates/history/plot.html @@ -60,7 +60,8 @@ {% endif %} {% if m %} + style="opacity: {% calendar_opacity m.sum history.max.sum %}" + title="{{ m.sum|pmrvalue }}"> {% else %} {% endif %}