Re: [webauthn] Use of in-field metadata not preferred (#1643)

In our visit to your meeting at TPAC 2024, we discussed the various open I18N issues. This comment is to record what we said the resolution would likely be and I18N's reaction to it. I will add comments linking to this one to the other issues we have open, all of which relate to the same general problem.

---

In our meeting we discussed that inventing a new language/direction metadata serialization was undesirable, especially since no implementations currently have coded it or support decoding it. If any implementation did start to use this encoding, the result would be the addition of gibberish to values displayed in all other implementations on the Web.

Instead, we discussed that you would remove the additional serialization. For existing fields that antedate standardization, there appears to be no way to introduce field-specific metadata. For new fields that you add to Webauthn, you will follow the [single language localizable text field](https://www.w3.org/TR/string-meta/#single-linguistic-field) best practices in String-Meta.

It occurred to me after the meeting to suggest providing a [resource-wide default](https://www.w3.org/TR/string-meta/#resource_wide_default) would be a way to possibly address the existing fields. These would be additional optional new fields in authentication request/response structures such as `AuthenticatorResponse` that allow the locale and direction of any contained natural language strings to be indicated without placing a burden on existing systems.

In any case, if you remove the lang/dir serialization from the spec and close this (and related issues), I18N will not object to your progressing.

-- 
GitHub Notification of comment by aphillips
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1643#issuecomment-2379550440 using your GitHub account


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

Received on Friday, 27 September 2024 15:29:54 UTC