-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
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
languagePicker: 'change language' popup needs a lang attribute #2785
Comments
Ideally alongside the |
small suggestion: something more like |
I think class will be a fine. Is there attribute really need? PR |
As @moloko says, the attribute is useful for assistive technology. |
@NayanKhedkar Jaws uses the |
A few things to note about the above code:
|
Dependent PR: |
not actually fixed yet..! |
I think this issue can be closed now? |
yep, done in FW v5.6 and languagePicker v4.1.0 |
Because the text of the popup is in the language the learner is trying to switch to, it is therefore different to the language declared via the
lang
attribute of thehtml
element.It should be possible to add
lang
attribute to Notify that specifies the language used in the popup correctly. This would be beneficial both for assistive technology and for language-specific styling as well (for example, you may want to use a different font for non-Latin languages)The text was updated successfully, but these errors were encountered: