Form field usability improvements #16616
Labels
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
See https://www.twilio.com/blog/html-attributes-two-factor-authentication-autocomplete#:~:text=In%20iOS%20and%20Safari%20on,code%22%20will%20trigger%20this%20behaviour we could use
autocomplete="one-time-code"
for the 2FA form field.See same blog re auto complete fields for passwords, repeat password, etc. Also explained in https://twitter.com/swyx/status/1280478276931031041
For emails and URL form fields for example we could set inputmode: https://twitter.com/IMAC2/status/1293863884537946112 . We already have
FieldConfig::UI_CONTROL_EMAIL
and same for URL.We could also see if we changed inputmode for numbers and set the type back to text see https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/
The text was updated successfully, but these errors were encountered: