[A11y] Fix service fee HTML-structure (#5046)

This commit is contained in:
Richard Schreiber
2025-05-05 11:59:17 +02:00
committed by GitHub
parent f09e9590a8
commit f71eb195c4

View File

@@ -11,8 +11,11 @@
<span role="columnheader" aria-sort="none">{% trans "Product" %}</span>
{% if download %}
<span role="columnheader" aria-sort="none">{% trans "Ticket download" %}</span>
{% elif not hide_prices %}
<span role="columnheader" aria-sort="none">{% trans "Price per item" %}</span>
{% else %}
<span role="columnheader" aria-sort="none">{% trans "Quantity" %}</span>
{% if not hide_prices %}
<span role="columnheader" aria-sort="none">{% trans "Price per item" %}</span>
{% endif %}
{% endif %}
{% if not hide_prices %}
<span role="columnheader" aria-sort="none">{% trans "Price total" %}</span>
@@ -392,12 +395,20 @@
{% endfor %}
{% endfor %}
{% for fee in cart.fees %}
<div class="row cart-row">
<div class="col-md-4 col-xs-6">
<div role="row" class="row cart-row">
<div role="cell" class="col-md-4 col-xs-6">
<strong>{{ fee.get_fee_type_display }}</strong>
</div>
{% if download %}
<div role="cell"></div>
{% else %}
<div role="cell"></div>
{% if not hide_prices %}
<div role="cell"></div>
{% endif %}
{% endif %}
{% if not hide_prices %}
<div class="col-md-3 col-xs-6 col-md-offset-5 price">
<div role="cell" class="col-md-3 col-xs-6 col-md-offset-5 price">
{% if event.settings.display_net_prices %}
<strong>{{ fee.net_value|money:event.currency }}</strong>
{% if fee.tax_rate %}