8000 Is it possible to annotate an autocomplete attribute to accept either `email` or `tel`? · Issue #11375 · whatwg/html · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Is it possible to annotate an autocomplete attribute to accept either email or tel? #11375
Open
@samuelgoto

Description

@samuelgoto

What is the issue with the HTML Standard?

In account creation forms, there are often input boxes that accept either an email address or a telephone number from an user.

Welcome to my website!
<input id="id" alt="Enter your email or phone number!">

Is it possible to use the autocomplete attribute to accept either one or the other? Say, would the following be valid HTML5 syntax? <input autocomplete="email tel">?

Based on my reading of this, I believe this isn't a supported mode of operation.

If possible, any chance you can clarify how to accomplish this?

If not, any chance this might make sense? And if so, how (e.g. should we use empty space as a separator? or introduce a micro syntax like a name | email pipe between values?)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0