Make sure confirmation/danger banners have a H1

This makes errors on all pages have a `<h1>` element, which is important
for accessibility. It means a bit of rewriting the messages, but I think
they’re better for it.
This commit is contained in:
Chris Hill-Scott
2017-07-24 14:50:56 +01:00
parent 40e79c6827
commit befe93ec0b
4 changed files with 53 additions and 47 deletions

View File

@@ -7,7 +7,7 @@
{% endif %}
>
{% if subhead -%}
{{ subhead }}&ensp;
<h1 class="banner-title">{{ subhead }}</h1>
{%- endif -%}
{{ body }}
{% if delete_button %}