From ce9f110c124bd318ae55c7ff7922cc38093897fd Mon Sep 17 00:00:00 2001 From: Chris Contolini Date: Tue, 26 Nov 2024 16:13:31 -0500 Subject: [PATCH] Remove canvas fallback text We're using aria-label instead of canvas fallback text. See https://pauljadam.com/demos/canvas.html --- cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html b/cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html index ff751d8c171..29c850db96f 100644 --- a/cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html +++ b/cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html @@ -37,11 +37,6 @@ data-chart-type="{{value.chart_type}}" {% if self.callbacks %}data-callback="{{value.callbacks}}"{% endif %} {% if value.description %}aria-label="{{value.description}}"{% endif %}> - > -

- Your browser does not support the canvas element. - This canvas shows a chart {% if value.title %} with the title {{value.title}} {%endif%} -