The hidden depths of the input element - HTMHell
Less typing is always better
Last but not least, my absolute favourite <input> attribute is the autocomplete attribute.
For controlling the available virtual keyboards use inputmode. To control whether an <input> can be updated, but also still read and submitted, choose readonly over disabled. You can trigger the camera on mobile devices using capture. Use the spellcheck attribtue to control whether spellchecking is activated on an input, and remember to set it to "false" on sensitive inputs. Save users time by using autocapitalize to control the capitalisation of text in an input. And finally, use autocomplete to help the browser fill in the contents of an input and save your users typing.
January 12, 2024 at 8:52:13 AM EST
*
FILLER