mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Assistive technologies use the `<main>` element to navigate around a document. In `<main>` their users expect to find: > [content] unique to the document, excluding any content that is > repeated across a set of documents such as sidebars, navigation links, > copyright information, site logos, and search forms… — https://developer.mozilla.org/en/docs/Web/HTML/Element/main Previously, the `<main>` element also wrapped the sidebar navigation. This commit moves the `<main>` element to only wrap the content of the page when the page has a navigation sidebar. This commit also removes the `page-container` class which wasn’t being used for anything.
9 lines
202 B
HTML
9 lines
202 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% block fullwidth_content %}
|
|
<main role="main">
|
|
{% include 'flash_messages.html' %}
|
|
{% block maincolumn_content %}{% endblock %}
|
|
</main>
|
|
{% endblock %}
|