Suggest to allow "autocomplete" on input type=checkbox|radio #1894
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
topic: forms
Hi,
often on the web, we need to remember a user's preference like whether something was expanded or collapsed, or the current selected "in-page" tab (like "Write/Preview" when filling a github issue), or whether a disclaimer was closed/left open...
We can achieve such behavior with an input checkbox or radio, and style through CSS. But to remember the input's last status (whether it was checked or not), we need javascript or server-side storage.
Suggestion
Allowing the
autocomplete
attribute on theinput
of typecheckbox
andradio
would then help a lot. In such case, ifautocomplete="on"
is set on aninput
, then the confirming UA will have to remember whether theinput
was checked (forcheckbox
) and which value was checked (forradio
) or if none was (forradio
). Suchautocomplete
would probably wear the "autofill expectation mantle" (on/off only).The text was updated successfully, but these errors were encountered: