[contact-picker] missing metadata of language and direction for string values in natural language (#63)

himorin has just created a new issue for https://github.com/w3c/contact-picker:

== missing metadata of language and direction for string values in natural language ==
Ref: Contact Picker API [API Description](https://www.w3.org/TR/2023/WD-contact-picker-20230127/#api)

Although this API does not define how UI (or browser) will get preset information from user over set of information provided via API, there should be some input/interaction in advance with user, since this API is not one to define an interface like autofill feature for input element.
This API covers information with human language like physical address or name, but in current set of API interfaces, there is no attribute on language and direction information for text provided via this API.
This API should define a way to get language and/or text direction specified by user, and also to provide these via its API interface. Also this spec should also provide guidance on detecting direction when metadata not available, such as first-strong.

See also [Declaring language](https://www.w3.org/TR/2022/DNOTE-international-specs-20220923/#lang_declaration) (for metadata) and [Base direction values section](https://www.w3.org/TR/2022/DNOTE-international-specs-20220923/#bidi_values) (for direction and first-strong detection) sections of Internationalization Best Practices for Spec Developers.

Please view or discuss this issue at https://github.com/w3c/contact-picker/issues/63 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 March 2023 11:55:23 UTC