🚧 fix(language-switcher): improve keyboard accessibility

This commit is contained in:
welpo 2023-10-18 00:04:11 +02:00
parent ea791f3a29
commit 65363aa9a8
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
4 changed files with 63 additions and 0 deletions

View file

@ -118,4 +118,9 @@
{%- if email_needs_decoding -%}
<script src="{{ get_url(path='js/decodeMail.min.js') }}" async></script>
{%- endif -%}
{# Load accessibility JavaScript #}
{%- if config.extra.accessibility_javascript -%}
<script defer src="{{ get_url(path='js/accessibility.min.js') }}"></script>
{%- endif -%}
</footer>