[w3c/manifest] Description of `lang` incorrect (Issue #1082)

`lang` member
https://w3c.github.io/manifest/#lang-member

> The [manifest's](https://w3c.github.io/manifest/#dfn-manifest) lang member is a [string](https://infra.spec.whatwg.org/#string) in the form of a [language tag](https://w3c.github.io/manifest/#dfn-language-tag) that specifies the primary language for the values of the manifest's [localizable members](https://w3c.github.io/manifest/#dfn-localizable-members) (as knowing the language can also help with directionality).

The above description of the `lang` member should not refer to the "primary language", since that has specific meaning in a language tag. It should just say "language".

The parenthetical _as knowing the language can also help with directionality_ is not correct. Language metadata is used for many things--font selection, spelling correction, hyphenation, styling, and so forth. Voice selection for accessibility is another key use. However, while the language can sometimes be used to help estimate the direction, this is **not recommended** and, given the use of `dir` and its default of `auto` in this specification, should not even be mentioned (as the `lang` MUST NOT be used to estimate the direction when there is metadata provided). Instead this section should mention the other Good Things that language metadata can provide.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1082
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/1082@github.com>

Received on Monday, 15 May 2023 07:11:11 UTC