Re: [webauthn] WebAuthn requestUserInfo -- easier account creation (#2336)

From the explainer:

> Attributes will be returned as an object with a mandatory value field. In the future, these can be augmented with verification signals.
> 
> ```javascript
> userInfo: {
>   identifier: {
>     type: "email",
>     value: "marisa@gmail.com",
>   },
>   attributes: {
>     name: {
>       value: "Marisa Kirisame",
>     },
>   }
> },
> ```

It might be appropriate to include some [language and/or direction fields](https://www.w3.org/TR/2024/NOTE-string-meta-20241017/#single-linguistic-field) for some of these. I could certainly see at least direction being relevant for `name` values that may be written in different scripts:



> ```javascript
> attributes: {
>   name: {
>     value: "هذا المثال باللغة العربية",
>     dir: "rtl"
>   },
> }
> ```

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


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

Received on Monday, 20 October 2025 11:20:12 UTC