Cookie-Banner klarer gestalten

This commit is contained in:
2026-08-27 12:46:44 +02:00
parent c86803bbd6
commit da7132d4ce
3 changed files with 22 additions and 5 deletions
+3 -3
View File
@@ -145,12 +145,12 @@ function app_analytics_body_html(): string
<section class="analytics-consent" id="analytics-consent" aria-labelledby="analytics-consent-title" aria-describedby="analytics-consent-description" hidden>
<div class="analytics-consent__inner">
<div class="analytics-consent__copy">
<h2 id="analytics-consent-title">Optionale Nutzungsanalyse</h2>
<h2 id="analytics-consent-title">Cookie-Zustimmung</h2>
<p id="analytics-consent-description">Wir möchten mit Matomo verstehen, wie unsere Website und App genutzt werden. Erst nach deiner Zustimmung übermitteln wir Seitenaufrufe an unser selbst betriebenes Matomo und setzen ein Analyse-Cookie. Notwendige Cookies funktionieren immer. Mehr dazu steht im <a href="datenschutz.php">Datenschutz</a>.</p>
</div>
<div class="analytics-consent__actions">
<button type="button" data-analytics-consent="denied">Nur notwendige</button>
<button type="button" data-analytics-consent="granted">Analyse erlauben</button>
<button type="button" data-analytics-consent="denied">Nur notwendige Cookies</button>
<button type="button" data-analytics-consent="granted">Zustimmen</button>
</div>
</div>
</section>