W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2018

[csswg-drafts] [ui] Consider specifying `text-security` property

From: Theresa O'Connor via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Apr 2018 17:35:42 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-310929943-1522776941-sysbot+gh@w3.org>
hober has just created a new issue for https://github.com/w3c/csswg-drafts:

== [ui] Consider specifying `text-security` property ==
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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2495 using your GitHub account
Received on Tuesday, 3 April 2018 17:35:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:47 UTC