forked from CGM_Public/pretix_original
[A11y] add main-landmark to all presale pages (#5332)
This commit is contained in:
committed by
GitHub
parent
23b07e29cd
commit
4d9f1a8efc
@@ -65,8 +65,10 @@
|
||||
{% endblock %}
|
||||
</header>
|
||||
<div class="container main-box">
|
||||
<main id="content">
|
||||
{% block page %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
<footer>
|
||||
{% block footer %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -53,10 +53,8 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
</aside>
|
||||
<main aria-label="{% trans "Checkout" %}">
|
||||
<h2>{% trans "Checkout" %}</h2>
|
||||
{% include "pretixpresale/event/fragment_checkoutflow.html" %}
|
||||
{% block inner %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
{% load getitem %}
|
||||
{% block title %}{% trans "Review order" %}{% endblock %}
|
||||
{% block content %}
|
||||
<main aria-label="{% trans "Review order" %}">
|
||||
<h2>{% trans "Review order" %}</h2>
|
||||
{% include "pretixpresale/event/fragment_checkoutflow.html" %}
|
||||
<p>{% trans "Please review the details below and confirm your order." %}</p>
|
||||
@@ -214,5 +213,4 @@
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
{{ ev.event_microdata }}
|
||||
</script>
|
||||
{% endautoescape %}
|
||||
<main aria-label="{% if show_cart %}{% trans "Your cart, general information, add products to your cart" %}{% else %}{% trans "General information, add products to your cart" %}{% endif %}">
|
||||
{% if show_cart %}
|
||||
{% include "pretixpresale/event/fragment_cart_box.html" with open=1 %}
|
||||
{% endif %}
|
||||
@@ -244,7 +243,6 @@
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</main>
|
||||
{% if show_vouchers %}
|
||||
<aside class="front-page" aria-labelledby="redeem-a-voucher">
|
||||
<h2 class="h3" id="redeem-a-voucher">{% trans "Redeem a voucher" %}</h2>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
{% trans "Order details" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<main>
|
||||
{% if "thanks" in request.GET or "paid" in request.GET %}
|
||||
<div class="thank-you">
|
||||
<span class="fa fa-check-circle" aria-hidden="true"></span>
|
||||
@@ -484,5 +483,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user