Ensure H2 headings follow H1 headings

We had some cases where an H3 heading followed an H1. This was flagged
as something to change in the accessibility report.
This commit is contained in:
Katie Smith
2020-08-21 16:52:35 +01:00
parent 0dfbc1df67
commit e3006f62b2
6 changed files with 12 additions and 12 deletions

View File

@@ -22,7 +22,7 @@
<div class="user-list">
{% for user in users %}
<div class="user-list-item">
<h3 title="{{ user.email_address }}">
<h2 class="user-list-item-heading" title="{{ user.email_address }}">
{%- if user.name -%}
<span class="heading-small live-search-relevant">{{ user.name }}</span>&ensp;
{%- endif -%}
@@ -37,7 +37,7 @@
<span class="live-search-relevant">{{ user.email_address }}</span>
{% endif %}
</span>
</h3>
</h2>
<ul class="tick-cross-list govuk-grid-row">
<div class="tick-cross-list-permissions govuk-grid-column-three-quarters">
{% for permission, label in permissions %}