-
Notifications
You must be signed in to change notification settings - Fork 70
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
Update "Use my location" button/pattern #17118
Comments
@aklausmeier In the FL Figma comments, you asked me to review the out in the wild implementations of "Use my location", this ticket includes that review as well as the overall issues CC: @mmiddaugh |
Apparently I made this exact same ticket back in December. I'm closing that one because this has more info |
This is going to be discussed at the 2/9 DSC meeting apparently |
@mmiddaugh This is a ticket around FL "Use my location" we briefly discussed. If you happen to remember which prior research study might be related, let us know. I found some prior insights on Use my location in this study.
|
for future self - another VA instance of Use my location button pattern on Accredited Rep |
@davidmpickett @thejordanwood For UX Sync tomorrow, we can refine and it might fit into end of Sprint 3. |
Update from UX sync:
Next steps: |
Also noting that the ticket mentions changing the wording in the location modal. We proposed updated wording when we suggested new empty/error states for facility locator. This was the wording we proposed at the time, but let me know if it needs to be updated again. @davidmpickett @aklausmeier @laflannery |
This still sounds good to me! |
End of sprint update:We now have 2 design options for this. Here's a relevant Slack thread that describes why Laura and I came up with a second option based on feedback she received in an a11y meeting. The thread also has some discussion on next steps. Option 1 Option 2 Laura, Eli, and I met to discuss both options and explore tech feasibility.
Next steps:
cc: @jilladams @Agile6MSkinner @aklausmeier @laflannery @davidmpickett @eselkin |
Per Michelle: We don't know of previous work around typeahead on Location field, but recent convo around how "Springfield" could be MO, IL, etc. Mapbox would need to provide the validation, OR any other solution would need to be compatible with Mapbox. @Agile6MSkinner Will make a SPIKE ticket to verify Mapbox typeahead, and that will finalize the decision around Options 1 or 2. Closing, that in mind. |
Description
On the Facility Locator we have an option for the user to "Use my location" when they are searching. There are some known issues with this currently:
<button>
element however it does not visually look like a button. To maintain material honestly (elements should look like what they are) and to be more accessible and avoid confusion, if this is a<button>
, it should look like a buttonThere is no programmatic association between "Use my location" and the "City, State, Postal Code" field. This means that users may not know exactly what the purpose of this button is for, especially since this is before the input field - "Use my location for what?" There is an existing ticket to add anaria-describedby
attributeAdditional options
Amanda has pointed out that if we are considering updating this pattern, we don't necessarily need to stick to what we have exactly, there are other ways, out in the wild that this is done. Zillow and Redfin have "Current location" as a dropdown from the search input. This is definitely a way to do it and we could make it work, both of these have their quirks and aren't perfect as is.
Broader implications
This "use my location" option is used in a few places throughout VA.gov but is not an established pattern or component. Because of that, the usage is is not standardized so the issues that were pointed out above might exist in other places and other instances might have potentially additional instances. There is an opportunity for us to improve this pattern, propose it as an experimental design to the DST and then other teams with "Use my location" would have an example of how to update and build their experience.
Design
Facility Locator Figma file
Acceptance Criteria
The text was updated successfully, but these errors were encountered: