fix: correct semantic html structure in offer template

This commit is contained in:
Björn Fromme
2026-08-17 14:25:27 +02:00
parent 77de1643f0
commit 396aa0bac6
+8 -7
View File
@@ -101,9 +101,11 @@
<button type="button"
class="flex items-center justify-between w-full text-left"
data-action="toggle#toggle">
<h2>
<span class="block text-2xl md:text-3xl font-bold mb-2"
role="heading"
aria-level="2">
Die Unterkunft
</h2>
</span>
<svg class="w-5 h-5 shrink-0 transition-transform"
data-toggle-target="icon"
xmlns="http://www.w3.org/2000/svg"
@@ -185,9 +187,11 @@
<button type="button"
class="flex items-center justify-between w-full text-left"
data-action="toggle#toggle">
<h2>
<span class="block text-2xl md:text-3xl font-bold mb-2"
role="heading"
aria-level="2">
Die Region {{ region.name }}
</h2>
</span>
<svg class="w-5 h-5 shrink-0 transition-transform"
data-toggle-target="icon"
xmlns="http://www.w3.org/2000/svg"
@@ -218,9 +222,6 @@
{% endif %}
{{ region.description | default('') | raw }}
<h2>
Skigebiet
</h2>
{{ region.skiArea | default('') | raw }}
{{ region.skiAreaExtended | default('') | raw }}