headlineStyle): ?> style="= $this->headlineStyle ?>">
= $this->headline ?>
diff --git a/core-bundle/contao/templates/elements/ce_headline.html5 b/core-bundle/contao/templates/elements/ce_headline.html5
index 1bf6aaeb25d..03c1707ccab 100644
--- a/core-bundle/contao/templates/elements/ce_headline.html5
+++ b/core-bundle/contao/templates/elements/ce_headline.html5
@@ -1,4 +1,14 @@
+hl ?> class="= $this->class ?>"= $this->cssID ?>style): ?> style="= $this->style ?>">
+$this->wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass($this->class)
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+<= $this->hl ?>= $this->wrapperAttributes ?>>
= $this->headline ?>
= $this->hl ?>>
diff --git a/core-bundle/contao/templates/elements/ce_sliderStart.html5 b/core-bundle/contao/templates/elements/ce_sliderStart.html5
index a17580b1e56..b8c8ef2316a 100644
--- a/core-bundle/contao/templates/elements/ce_sliderStart.html5
+++ b/core-bundle/contao/templates/elements/ce_sliderStart.html5
@@ -1,5 +1,15 @@
+class ?> block"= $this->cssID ?>style): ?> style="= $this->style ?>">
+$this->wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+
wrapperAttributes ?>>
headline): ?>
<= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
diff --git a/core-bundle/contao/templates/elements/ce_teaser.html5 b/core-bundle/contao/templates/elements/ce_teaser.html5
index 773abe89342..fe7d67d9dec 100644
--- a/core-bundle/contao/templates/elements/ce_teaser.html5
+++ b/core-bundle/contao/templates/elements/ce_teaser.html5
@@ -1,12 +1,20 @@
+extend('block_searchable'); ?>
-
cssID ?>style): ?> style="= $this->style ?>">
+headline): ?>
-
= $this->headline ?>
-
+$this->wrapperAttributes = $this
+ ->attr()
+ ->addClass('ce_text')
+ ->mergeWith($this->wrapperAttributes)
+;
- = $this->text ?>
+$this->hl = 'h1';
+
+?>
+block('content'); ?>
+
+ = $this->text ?>
= $this->more ?> = $this->headline ?>
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/elements/ce_toplink.html5 b/core-bundle/contao/templates/elements/ce_toplink.html5
index 6d1f9071399..fcc6fb5c933 100644
--- a/core-bundle/contao/templates/elements/ce_toplink.html5
+++ b/core-bundle/contao/templates/elements/ce_toplink.html5
@@ -1,6 +1,16 @@
+wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
-
cssID ?>style): ?> style="= $this->style ?>">
+
diff --git a/core-bundle/contao/templates/forms/form_explanation.html5 b/core-bundle/contao/templates/forms/form_explanation.html5
index 3730bdeef76..0865052585e 100644
--- a/core-bundle/contao/templates/forms/form_explanation.html5
+++ b/core-bundle/contao/templates/forms/form_explanation.html5
@@ -1,4 +1,13 @@
+prefix ?> explanationclass): ?> = $this->class ?>">
+$this->wrapperAttributes = $this
+ ->attr()
+ ->addClass([$this->prefix, 'explanation', $this->class])
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+
wrapperAttributes ?>>
= $this->cspInlineStyles($this->generate()) ?>
diff --git a/core-bundle/contao/templates/forms/form_row.html5 b/core-bundle/contao/templates/forms/form_row.html5
index 6daf04df54d..66b3913f913 100644
--- a/core-bundle/contao/templates/forms/form_row.html5
+++ b/core-bundle/contao/templates/forms/form_row.html5
@@ -1,5 +1,14 @@
+prefix ?>class): ?> = $this->class ?>">
+$this->wrapperAttributes = $this
+ ->attr()
+ ->addClass([$this->prefix, $this->class])
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+
wrapperAttributes ?>>
block('label'); ?>
endblock(); ?>
diff --git a/core-bundle/contao/templates/forms/form_wrapper.html5 b/core-bundle/contao/templates/forms/form_wrapper.html5
index 8627af64461..4b8029323a5 100644
--- a/core-bundle/contao/templates/forms/form_wrapper.html5
+++ b/core-bundle/contao/templates/forms/form_wrapper.html5
@@ -1,6 +1,16 @@
+wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
-
cssID ?>style): ?> style="= $this->style ?>">
+
wrapperAttributes ?>>
headline): ?>
<= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
diff --git a/core-bundle/contao/templates/member/member_default.html5 b/core-bundle/contao/templates/member/member_default.html5
index 0486e654b89..72cbd7df286 100644
--- a/core-bundle/contao/templates/member/member_default.html5
+++ b/core-bundle/contao/templates/member/member_default.html5
@@ -1,10 +1,17 @@
+extend('block_unsearchable'); ?>
-
-
cssID ?>style): ?> style="= $this->style ?>">
+headline): ?>
- <= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
-
+$this->wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+block('content'); ?>
message): ?>
= $this->message ?>
@@ -21,5 +28,4 @@
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/member/member_grouped.html5 b/core-bundle/contao/templates/member/member_grouped.html5
index 368833aeb12..c7db93e2f16 100644
--- a/core-bundle/contao/templates/member/member_grouped.html5
+++ b/core-bundle/contao/templates/member/member_grouped.html5
@@ -1,10 +1,17 @@
+extend('block_unsearchable'); ?>
-
-
cssID ?>style): ?> style="= $this->style ?>">
+headline): ?>
- <= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
-
+$this->wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+block('content'); ?>
message): ?>
= $this->message ?>
@@ -30,5 +37,4 @@
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/modules/mod_article.html5 b/core-bundle/contao/templates/modules/mod_article.html5
index 0ec200759d2..3be35bca8af 100644
--- a/core-bundle/contao/templates/modules/mod_article.html5
+++ b/core-bundle/contao/templates/modules/mod_article.html5
@@ -1,8 +1,18 @@
+wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
teaserOnly): ?>
block('alias'); ?>
-
cssID ?>style): ?> style="= $this->style ?>">
+ wrapperAttributes ?>>
= $this->headline ?>
@@ -21,7 +31,7 @@
-
cssID ?>style): ?> style="= $this->style ?>">
+
wrapperAttributes ?>>
printable): ?>
block('syndication'); ?>
diff --git a/core-bundle/contao/templates/modules/mod_articlenav.html5 b/core-bundle/contao/templates/modules/mod_articlenav.html5
index 2687fb3fa5e..da83a810998 100644
--- a/core-bundle/contao/templates/modules/mod_articlenav.html5
+++ b/core-bundle/contao/templates/modules/mod_articlenav.html5
@@ -1,10 +1,16 @@
+extend('block_unsearchable'); ?>
-
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/modules/mod_breadcrumb.html5 b/core-bundle/contao/templates/modules/mod_breadcrumb.html5
index 03c70c4a7f9..a337fdd497e 100644
--- a/core-bundle/contao/templates/modules/mod_breadcrumb.html5
+++ b/core-bundle/contao/templates/modules/mod_breadcrumb.html5
@@ -1,6 +1,17 @@
+wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->set('aria-label', 'Breadcrumb')
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/modules/mod_login.html5 b/core-bundle/contao/templates/modules/mod_login.html5
index e8ef6c4f181..b7898c5c9bc 100644
--- a/core-bundle/contao/templates/modules/mod_login.html5
+++ b/core-bundle/contao/templates/modules/mod_login.html5
@@ -1,10 +1,16 @@
+extend('block_unsearchable'); ?>
-
-
cssID ?>style): ?> style="= $this->style ?>">
+headline): ?>
- <= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
-
+$this->wrapperAttributes = $this
+ ->attr()
+ ->addClass($this->logout ? 'logout' : 'login')
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+block('content'); ?>
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/modules/mod_navigation.html5 b/core-bundle/contao/templates/modules/mod_navigation.html5
index 3dfe1adc710..ebaa6b177bc 100644
--- a/core-bundle/contao/templates/modules/mod_navigation.html5
+++ b/core-bundle/contao/templates/modules/mod_navigation.html5
@@ -1,6 +1,16 @@
+wrapperAttributes = $this
+ ->attr($this->cssID)
+ ->addClass([$this->class, 'block'])
+ ->addStyle($this->style)
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
-
cssID ?>style): ?> style="= $this->style ?>">
+wrapperAttributes ?>>
headline): ?>
<= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
diff --git a/core-bundle/contao/templates/modules/mod_password.html5 b/core-bundle/contao/templates/modules/mod_password.html5
index 786aa54ec8d..3e4ee7341ea 100644
--- a/core-bundle/contao/templates/modules/mod_password.html5
+++ b/core-bundle/contao/templates/modules/mod_password.html5
@@ -1,10 +1,6 @@
+extend('block_unsearchable'); ?>
-
-cssID ?>style): ?> style="= $this->style ?>">
-
- headline): ?>
- <= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
-
+block('content'); ?>
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/modules/mod_two_factor.html5 b/core-bundle/contao/templates/modules/mod_two_factor.html5
index 2db846b9e59..7636a8b037a 100644
--- a/core-bundle/contao/templates/modules/mod_two_factor.html5
+++ b/core-bundle/contao/templates/modules/mod_two_factor.html5
@@ -1,10 +1,16 @@
+extend('block_unsearchable'); ?>
-
-cssID ?>style): ?> style="= $this->style ?>">
+headline): ?>
- <= $this->hl ?>>= $this->headline ?>= $this->hl ?>>
-
+$this->wrapperAttributes = $this
+ ->attr()
+ ->addClass('two-factor')
+ ->mergeWith($this->wrapperAttributes)
+;
+
+?>
+
+block('content'); ?>
enable): ?>
message): ?>
@@ -113,5 +119,4 @@
-
-
+endblock(); ?>
diff --git a/core-bundle/contao/templates/rss/rss_items_only.html5 b/core-bundle/contao/templates/rss/rss_items_only.html5
index 650afe83f83..c11e622ed3b 100644
--- a/core-bundle/contao/templates/rss/rss_items_only.html5
+++ b/core-bundle/contao/templates/rss/rss_items_only.html5
@@ -3,7 +3,7 @@
block('content'); ?>
items as $item): ?>
-