Skip to content

Commit

Permalink
Merging pull request #476 from thibaudcolas/accessibility-landmarks-f…
Browse files Browse the repository at this point in the history
…ixes

Adding these fixes to clear the errors being flagged by the accessibility checker.
  • Loading branch information
vossisboss authored Jan 31, 2024
2 parents 3163c11 + 303fdff commit 6f41aef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions bakerydemo/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@
{% breadcrumbs %}
{% endblock breadcrumbs %}

{% block messages %}
{% include "includes/messages.html" %}
{% endblock messages %}

<main>
{% block messages %}
{% include "includes/messages.html" %}
{% endblock messages %}

{% block content %}
{% endblock content %}
</main>
Expand Down
4 changes: 2 additions & 2 deletions bakerydemo/templates/includes/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load navigation_tags %}

<div class="header clearfix">
<header class="header clearfix">
<div class="container">
<div class="navigation" data-navigation>
<a href="/" class="navigation__logo">The Wagtail Bakery</a>
Expand Down Expand Up @@ -54,4 +54,4 @@
</form>
</div>
</div>
</div>
</header>

0 comments on commit 6f41aef

Please sign in to comment.