Skip to content

Commit

Permalink
Remove canvas fallback text
Browse files Browse the repository at this point in the history
We're using aria-label instead of canvas fallback text.

See https://pauljadam.com/demos/canvas.html
  • Loading branch information
contolini committed Nov 26, 2024
1 parent c141340 commit ce9f110
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cfgov/v1/jinja2/v1/includes/organisms/wagtail-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}>
>
<p>
Your browser does not support the canvas element.
This canvas shows a chart {% if value.title %} with the title {{value.title}} {%endif%}
</p>
</canvas>

<p class="o-wagtail-chart__footnote block--sub block--border-top block">
Expand Down

0 comments on commit ce9f110

Please sign in to comment.