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

language of an attribute #9147

Closed
fantasai opened this issue Apr 11, 2023 · 1 comment
Closed

language of an attribute #9147

fantasai opened this issue Apr 11, 2023 · 1 comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@fantasai
Copy link
Contributor

fantasai commented Apr 11, 2023

HTML defines the directionality of an attribute, but afaict it doesn't define the content language of those attributes?

These two concepts should be kept in sync.

@r12a r12a added the i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. label Apr 12, 2023
@zcorpan
Copy link
Member

zcorpan commented Apr 13, 2023

"The lang attribute (in no namespace) specifies the primary language for the element's contents and for any of the element's attributes that contain text."

https://html.spec.whatwg.org/multipage/dom.html#the-lang-and-xml:lang-attributes

@annevk annevk closed this as completed Apr 28, 2023
@annevk annevk closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Development

No branches or pull requests

4 participants