Make jobs notification partial a section

If it has an accessible name, we're essentially
giving it a grouping role so it should be a
section.

Note: it could also have a role="region" but
sections are a bit more HTML5.
This commit is contained in:
Tom Byers
2020-09-09 22:31:32 +01:00
parent af369fd5a2
commit e815a73233

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %} {% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %} {% from "components/form.html" import form_wrapper %}
<div class="ajax-block-container" aria-labelledby='pill-selected-item'> <section class="ajax-block-container" aria-labelledby="pill-selected-item">
{% if job.scheduled %} {% if job.scheduled %}
<p class="govuk-body"> <p class="govuk-body">
@@ -74,4 +74,4 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </section>