Skip to content
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

🌎 Explicitly set lang (language) attribute in J-Editor and on rendered post content #842

Open
robin-macpherson opened this issue Apr 13, 2023 · 0 comments

Comments

@robin-macpherson
Copy link
Contributor

Perceived Problem

  • Some users still report issues typing accented characters and other IME-related input

Ideas / Proposed Solution(s)

  • One thing that may help with this is setting the lang attribute on the editor and post content
  • This will require storing a mapping to BCP47 language tags for each language that we support and then setting the attribute value based on the language the user selects

Bonus

  • It would be nice to set the top-level html element's lang attribute to be the user's UI language as well, mostly for screenreader users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant