Skip to content

Address Pattern - Country + State/Province/Region - Select and Open Field Swapping #3258

Open
@mtri

Description

@mtri

Duplicate check

  • I've searched for any related issues and avoided creating a duplicate issue.

This update is for:

Pattern

What is the name?

Addresses page on design.va.gov

What is the nature of this update?

  • How to build this component/pattern
  • When to use this component/pattern
  • When to use something else
  • Usability guidance
  • Accessibility considerations
  • Content considerations
  • Implementation
  • Package information
  • Addition to Forms Library documentation
  • Update to existing Forms Library documentation

What problem does this solve?

Addresses

The current documentation does not describe the relationship between the Country select and the State/Province/Region select.

  1. The State/Province/Region initial state is an open field.
  2. Selecting a country like United states, State/Province/Region becomes a Select box
  3. Selecting a country like Afghanistan, State/Province/Region remains an open field.

Under Layout Details State/Province/Region copy says it's a Select box.

In the Mailing address example example this functionality is not obvious unless selecting a country that switches the State/Province/Region to a Select box.

This led to some confusion on the proper implementation when QA-ing an address form implementation.

Clarifying the functionality within the VADS documentation will lead to more consistently designed form comps in Figma as well as more consistent implementation, and smoother a QA process.

Additional Context

Screenshot 2024-09-04 at 11 01 57 AM Screenshot 2024-09-04 at 11 02 05 AM Screenshot 2024-09-04 at 11 02 14 AM Screenshot 2024-09-04 at 11 03 11 AM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions