We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In C2, the lang=en_US (by default) on the homepage is not compliant with WCAG, which requires it to use a "valid 2 letter or 3 letter language code as defined in the ISO 639 specification". See https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
lang=en_US
This is set in src/CoreBundle/Resources/views/Layout/base-layout.html.twig, line 11:
<html lang="{{ app.request.locale }}" class="no-js h-100">
and somewhere in the page_content block for Vue.
One way to do it is to have an alternative for the locale (app.request.locale639 or something like this) and use it here.
The text was updated successfully, but these errors were encountered:
christianbeeznest
No branches or pull requests
In C2, the
lang=en_US
(by default) on the homepage is not compliant with WCAG, which requires it to use a "valid 2 letter or 3 letter language code as defined in the ISO 639 specification". See https://en.wikipedia.org/wiki/List_of_ISO_639_language_codesThis is set in src/CoreBundle/Resources/views/Layout/base-layout.html.twig, line 11:
and somewhere in the page_content block for Vue.
One way to do it is to have an alternative for the locale (app.request.locale639 or something like this) and use it here.
The text was updated successfully, but these errors were encountered: