Skip to content

[css-ui] Spec input-security property #2495

@hober

Description

@hober

An increasing number of sites have switched their login forms from using <input type=password> to <input type=text> for password input, in order to provide the ability to toggle display of the password text. This has the unfortunate side effect of preventing client-side password/account managers from correctly filling the form. We should spec the ability to toggle display of the contents of <input type=password> to help sites avoid breaking such account managers.

WebKit implements <input type=password> styling with a -webkit-text-security property, for which there are several polyfills out there for other browsers (e.g. noppa/text-security), so perhaps it's the right cowpath to pave here.

It's worth noting that it's sometimes desirable to obscure the text of other inputs—<input type=tel>, for instance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions