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

Add how to enter an address #852

Open
kelliedesigner opened this issue May 20, 2019 · 2 comments

Comments

Projects
None yet
1 participant
@kelliedesigner
Copy link
Contributor

commented May 20, 2019

As a consumer of the Design System
I want to know how to provide a way for users to enter an address
So that there's consistency across products

Acceptance criteria

  • Add component or pattern
  • Cross-browser test
  • Accessibility test
  • Add changelog entry
@kelliedesigner

This comment has been minimized.

Copy link
Contributor Author

commented May 20, 2019

Multiple text inputs

Key findings on gov.uk

Screen Shot 2019-05-20 at 13 26 29

Pros

  • ability to extract parts of an address
  • help and validation of individual text inputs
  • users can use autocomplete

Cons

  • there's no one size fits all
  • could be misused
  • users can't paste in a copied address

Usage
You should:

  • only make inputs mandatory if you really need the information
  • set the width to fit the information being requested
  • allow flexible data entry, for example upper or lower case postcodes
  • include an optional county input so that people who do not know their postcode can give a valid address
@kelliedesigner

This comment has been minimized.

Copy link
Contributor Author

commented May 20, 2019

Textarea
Key findings on gov.uk

Screen Shot 2019-05-20 at 13 33 46

Pros

  • You can accept a broad range of address formats
  • lets users easily copy and paste addresses from their clipboard

Cons

  • need can't separate an address into accurate sub-parts

@kelliedesigner kelliedesigner removed their assignment Jun 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.