Just a neat tip: the autocomplete="one-time-code"
attribute/value allows an HTML form to fetch a code used for two-factor authentication directly from the messaging app. Seems to only work for numeric or password input
elements, but that should cater to most 2FA use cases. Neat
- Source
- Link to Original 🔗
- Published
- Categories
- HTML & CSS
- Tags
- input, form, 2FA, one-time code, attributes, autocomplete
Explore Other Notes
⬅ Newer
@property
Looks like CSS is getting extensibility built-in with a new @property element (works like @media – also looks like we're getting CSS.registerProperty() in JavaScript …
Older ➡
Progressive summarisation or how to create discoverable notes
Progressive summarisation may not be ideally suited for me right now, but it's an idea which stuck with me whilst I was undergoing my own taxonomy building process. It's worth stepping through the …
- <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>Just a neat tip: the autocomplete="one-time-code" attribute/value allows an HTML form to fetch a code used for two-factor authentication directly from the messaging app. Seems to only work for …</p> </body> </html>
- Murray Champernowne