diff --git a/administrator/language/en-GB/plg_system_accessibility.ini b/administrator/language/en-GB/plg_system_accessibility.ini index 99aa7b2430b14..3f96fc6e19d61 100644 --- a/administrator/language/en-GB/plg_system_accessibility.ini +++ b/administrator/language/en-GB/plg_system_accessibility.ini @@ -8,6 +8,9 @@ PLG_SYSTEM_ACCESSIBILITY_CLOSE="Close" PLG_SYSTEM_ACCESSIBILITY_CURSOR="Big Cursor" PLG_SYSTEM_ACCESSIBILITY_DECREASE_SPACING="Decrease Text Spacing" PLG_SYSTEM_ACCESSIBILITY_DECREASE_TEXT="Decrease Text Size" +PLG_SYSTEM_ACCESSIBILITY_EMOJIS="Icons" +PLG_SYSTEM_ACCESSIBILITY_EMOJIS_FALSE="Use Google Material Font" +PLG_SYSTEM_ACCESSIBILITY_EMOJIS_TRUE="Use Emojis" PLG_SYSTEM_ACCESSIBILITY_GREY="Grey Hues" PLG_SYSTEM_ACCESSIBILITY_INCREASE_SPACING="Increase Text Spacing" PLG_SYSTEM_ACCESSIBILITY_INCREASE_TEXT="Increase Text Size" diff --git a/package-lock.json b/package-lock.json index 342d38a86d313..cb30448bcd9a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -87,7 +87,7 @@ }, "engines": { "node": ">=16", - "npm": ">=8.6.0" + "npm": ">=8.5.5" } }, "node_modules/@babel/code-frame": { @@ -2162,9 +2162,9 @@ } }, "node_modules/accessibility": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/accessibility/-/accessibility-3.0.15.tgz", - "integrity": "sha512-xRvdco4JcjpWtifYiprUH/WSjJV5rJjkWb0DbKhfR8SqeDZQ44NcXT27/6PhpZu8XXe6RgUkoKwG/fSAXD+6qg==" + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/accessibility/-/accessibility-3.0.16.tgz", + "integrity": "sha512-P4JdzR2k0ILGJJB5J9NSJmXLdC/T/MRC/QdgktI1o4pMo6aymVvC6P7d11sey6Vxcbrp5qj4WItjDgCewgwzCA==" }, "node_modules/acorn": { "version": "8.7.0", @@ -2735,7 +2735,6 @@ "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -5214,7 +5213,6 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" }, "optionalDependencies": { @@ -7102,9 +7100,6 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.62.0.tgz", "integrity": "sha512-cJEQq2gwB0GWMD3rYImefQTSjrPYaC6s4J9pYqnstVLJ1CHa/aZNVkD4Epuvg4iLeMA4KRiq7UM7awKK6j7jcw==", "dev": true, - "dependencies": { - "fsevents": "~2.3.2" - }, "bin": { "rollup": "dist/bin/rollup" }, @@ -9936,9 +9931,9 @@ } }, "accessibility": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/accessibility/-/accessibility-3.0.15.tgz", - "integrity": "sha512-xRvdco4JcjpWtifYiprUH/WSjJV5rJjkWb0DbKhfR8SqeDZQ44NcXT27/6PhpZu8XXe6RgUkoKwG/fSAXD+6qg==" + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/accessibility/-/accessibility-3.0.16.tgz", + "integrity": "sha512-P4JdzR2k0ILGJJB5J9NSJmXLdC/T/MRC/QdgktI1o4pMo6aymVvC6P7d11sey6Vxcbrp5qj4WItjDgCewgwzCA==" }, "acorn": { "version": "8.7.0", diff --git a/plugins/system/accessibility/accessibility.php b/plugins/system/accessibility/accessibility.php index 41401e6d85d46..bddef81796387 100644 --- a/plugins/system/accessibility/accessibility.php +++ b/plugins/system/accessibility/accessibility.php @@ -96,7 +96,7 @@ public function onBeforeCompileHead() 'units' => 'px', ], ], - 'useEmojis' => true, + 'useEmojis' => $this->params->get('useEmojis') != 'false' ? true : false, ], 'hotkeys' => [ 'enabled' => true, diff --git a/plugins/system/accessibility/accessibility.xml b/plugins/system/accessibility/accessibility.xml index 8ff6b42699cac..2df632e26cbc9 100644 --- a/plugins/system/accessibility/accessibility.xml +++ b/plugins/system/accessibility/accessibility.xml @@ -30,6 +30,16 @@ + + + +