From d4f7c28f096d386f17b338efc16fc71c28c33802 Mon Sep 17 00:00:00 2001
From: Michael Danielczok <michael@pcsg.de>
Date: Wed, 5 Mar 2025 15:35:24 +0100
Subject: [PATCH] fix: accessibility - pagespeed insight

---
 index.html                 | 2 +-
 locale.xml                 | 4 ++--
 template/footer/toTop.html | 3 ++-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index 145eb88..7c94659 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
 <head>
     {template_event name="quiqqer::template::header::begin" Template=$Template}
     {template_event name="quiqqer::template-cologne::header::begin" Template=$Template}
-    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5"/>
 
     {pace}
 
diff --git a/locale.xml b/locale.xml
index 7b129ba..ce72ef1 100644
--- a/locale.xml
+++ b/locale.xml
@@ -904,8 +904,8 @@
             <en><![CDATA[&copy; [year] - Template Cologne built with <a href="https://www.ecoyn.com">ecoyn</a>]]></en>
         </locale>
         <locale name="template.button.toTop">
-            <de><![CDATA[Nach oben]]></de>
-            <en><![CDATA[To top]]></en>
+            <de><![CDATA[Zum Seitenanfang]]></de>
+            <en><![CDATA[Go to top of page]]></en>
         </locale>
         <locale name="template.button.search">
             <de><![CDATA[Produkte durchsuchen]]></de>
diff --git a/template/footer/toTop.html b/template/footer/toTop.html
index a120c68..22e1476 100644
--- a/template/footer/toTop.html
+++ b/template/footer/toTop.html
@@ -1,3 +1,4 @@
-<a href="#top" class="toTop" title="{locale group='quiqqer/template-cologne' var='template.button.toTop'}">
+<a href="#top" class="toTop" title="{locale group='quiqqer/template-cologne' var='template.button.toTop'}"
+   aria-label="{locale group='quiqqer/template-cologne' var='template.button.toTop'}">
     <i class="fa fa-long-arrow-up toTop-icon"></i>
 </a>
\ No newline at end of file
-- 
GitLab