You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since few months ago, Agama allows selecting supported languages for rendering its UI. However, it is not satisfying the Understanding Success Criterion 3.1.1, Language of Page.
In short, it's about reflecting the selecting language by using the lang attribute in the <html> tag, which its useful for
Screen readers can load the correct pronunciation rules. Visual browsers can display characters and scripts correctly. Media players can show captions correctly. As a result, users with disabilities will be better able to understand the content.
Please, note that this attribute it's set in the static src/index.html file, somehow out of the scope of the React application. Something like below could partially fix the issue
but bear in mind that the application will be rendered with the lang="en" at least once and then switch to the right language. This can probably be changed on the server side by sending an adapted index.html file. In the end, the server already knows which language has been requested.
The text was updated successfully, but these errors were encountered:
Since few months ago, Agama allows selecting supported languages for rendering its UI. However, it is not satisfying the Understanding Success Criterion 3.1.1, Language of Page.
In short, it's about reflecting the selecting language by using the
lang
attribute in the<html>
tag, which its useful forTo know more, read https://www.w3.org/WAI/WCAG21/Understanding/language-of-page.html
Please, note that this attribute it's set in the static src/index.html file, somehow out of the scope of the React application. Something like below could partially fix the issue
but bear in mind that the application will be rendered with the
lang="en"
at least once and then switch to the right language. This can probably be changed on the server side by sending an adaptedindex.html
file. In the end, the server already knows which language has been requested.The text was updated successfully, but these errors were encountered: