Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form field usability improvements #16616

Open
tsteur opened this issue Oct 27, 2020 · 0 comments
Open

Form field usability improvements #16616

tsteur opened this issue Oct 27, 2020 · 0 comments
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.

Comments

@tsteur
Copy link
Member

tsteur commented Oct 27, 2020

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/

@tsteur tsteur added Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants