Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Design better forms

Sjors Timmer
September 09, 2015

Design better forms

Design forms that are usable, accessible and work on mobile phones and tablets. The slides of my UX Cambridge talk

Sjors Timmer

September 09, 2015
Tweet

More Decks by Sjors Timmer

Other Decks in Design

Transcript

  1. About me • Sjors Timmer • Freelance interaction designer •

    Designed forms at MoJ Digital Services • Designed forms at Zopa
  2. 1. Write the copy Reading tip: Forms that work by

    Caroline Jarrett and Gerry Gaffney
  3. Good design • Does the form match the rest of

    the site? • Does the form follow good design practices? facebook.com
  4. Appropriate questions • Appropriateness depends on context • Get it

    wrong and people provide you with made-up data
  5. Before you start • State reasons that would disqualify someone

    • State documents or numbers they need • Only state how long it will take if it goes against expectations • Bullet points are great gov.uk/carers-allowance/how-to-claim
  6. 1. From memory answers • Short simple labels • No

    need to tell people upfront • No need for help text, but you might want to tell why you need an answer facebook.com
  7. 2. Look up answers • Mention it in the preparation

    section • Simple and short label • Information on where you can find the answer gov.uk/carers-allowance/
  8. Help text • Show help text • Help text for

    minority user group employmenttribunals.service.gov.uk/apply
  9. 3. Think and write answers • Where most thinking needs

    to happen • In the form of a question or a section • Add help or even a writing guide employmenttribunals.service.gov.uk/apply
  10. Extended help • Additional context for question • Detailed guidelines

    for answers employmenttribunals.service.gov.uk/apply
  11. Answers • From memory • Look up • Think and

    write Help • Show help • Toggle help • External guide
  12. Mark optional fields 1. Remove as many optional questions as

    possible 2. Label optional fields left with “(optional)” 3. Remove required *
  13. Ironically, more people answered the optional questions when they were

    asked after they registered!
 
 – Luke Wroblewski The redesign of the eBay signup form
  14. Progress indicators Problem • Progress indicators are hard to fit

    on small screens Solution • Use numbered steps • Explain the process upfront Register to vote
  15. We removed the progress bar as an experiment. We measured

    the difference in our completion rates. We found that without a progress bar, completion rates stayed exactly the same –Ben Holiday https://designnotes.blog.gov.uk/2014/07/07/do-less-problems-as-shared-spaces/
  16. • Consider building your form in sections • Approach it

    like an app • Login • Forward and back • Save progress • Overview before submitting Complex progress Turbotax
  17. Success page • Thank them • Restate their actions •

    State reference number • State what will happen next • State how they can reach you • And make sure it prints well Thank you for your order! You successfully ordered 1 copy of Design better forms Your order number is #12345 You should receive a confirmation email within 5 minutes Your order should arrive between 25 and 27 September For any questions, contact us on 020123123 or [email protected] Print this page
  18. Label placement Top labels are the most flexible • Work

    with long text • Don’t break if someone resizes the text • Can deal with a lot of help text
  19. 1. Set the brightness of your mobile device to its

    lowest setting 2. Open up your website on the device and begin browsing around http://a11yproject.com/ Simple contrast test
  20. Keyboard access • Don’t break tab index • Helps users

    with motor/vision challenges • Helps power users to tab through • Highlight focused element
  21. 1. Un-plug/turn off your mouse 2. Use the Tab key

    to browse 3. Use Enter to select elements 4. Some menus and form elements may require ↑ ↓ ← → arrow keys Simple keyboard test http://a11yproject.com/
  22. 1. Attach second screen 2. Place website to second screen

    3. Turn on voice over 4. Turn off second screen 5. Navigate website via keyboard ‘Simple’ audio test Via Mehmed
  23. Form fields • Big enough to touch • Field size

    gives a clue to the answer expected
  24. HTML 5 type email, number, tel, url <label for=“phone”> Phone

    number</label> <input type="tel" name="phone"/>
  25. Drop down (aka select) Video tip: 
 Alice Bartlett: Burn

    your select tags Problems users have with drop downs • Unable to close the select • Typing into the select • Confusing focused items with selected items • Touch screen: trying to pinch zoom select options Master
  26. Possible solutions • Use autocomplete search • Only works when

    the user is looking for something they know baymard.com/labs/country-selector
  27. Submit buttons • Align left in line with the fields

    • Full width on mobile • Describe the action • Don’t display any cancel button Netflix
  28. Title • Remove title question • If not possible, allow

    for ‘other’ • Helps you to learn about what you might need to add in the future Carer’s allowance
  29. Name Leave it up to the user to tell you

    how they would like to be addressed
  30. Email • Autocomplete email address • Filter for spelling errors

    in popular provider’s domains • Confirm email address on screen • And/or there are services like neverbounce.com that actively validate email addresses
  31. Email • Autocomplete email address • Filter for spelling errors

    in popular provider’s domains • Confirm email address on screen • And/or there are services like neverbounce.com that actively validate email addresses Kickstarter
  32. Email • Autocomplete email address • Filter for spelling errors

    in popular provider’s domains • Confirm email address on screen • And/or there are services like neverbounce.com that actively validate email addresses petitions.parliament.uk
  33. Email • Autocomplete email address • Filter for spelling errors

    in popular provider’s domains • Confirm email address on screen • And/or there are services like neverbounce.com that actively validate email addresses petitions.parliament.uk
  34. Date of birth • Default HTML5 date element doesn’t test

    well • 3 fields, looks boring, but tests well (for memorable dates) • Reading tip: Asking for date of birth
  35. Passwords • Allow users to see their password • But

    don’t do it by default • Encourage length by showing a strength indicator Google account
  36. Passwords We have successfully trained everyone to use passwords that

    are hard to remember, but easy for computers to guess. XKCD https://xkcd.com/936/
  37. Prevent errors Use inline validation for • Email • Password

    • Country • Address Don’t use it for • Things you can not know, like title and name
  38. Hard validation • Place error message on the top •

    Link to sections • If the user can do multiple things wrong, think about creating multiple error messages for each field • Shorter pages allow people to deal with errors faster • Reading tip: Errors and validation
  39. Colourblindness • Don’t rely on (red) colour alone • Deuteranopia

    affects about 5% of all men • Simulate how colourblindness affects your page: colororacle.org/