Closed natalia-fitzgerald closed 1 week ago
Do we see the entire filing flow as a multi-page form?
Even more than a form, the filing flow falls under the category of an interactive tool. And as a tool, we can think about link behavior in terms of whether a filer is opening the link to do something that helps with using the tool. Initially I see three use cases here:
There might be other cases, or a better taxonomy, but approaching this from the perspective how a link helps a user with a task might make for a fruitful approach to answering this question.
@dan-padgett Before I assess this, I want to dig in to these buckets a bit more. The first two buckets seem to assume that the link lives on a filing flow page. Is this interpretation accurate? The third bucket seems to assume that the filer is either on a shared platform page or a filing flow page (in other words anywhere in the platform). Is that accurate? What do we consider to be the parts of the platform? Filing flow and Shared platform?
Maybe the first one should be broadened to say task instead of step? Then we can include the filing process and the Update your financial institution profile (and in the future the Update your user profile) tasks.
The link leads to information that would be used alongside the current task to make progress
@natalia-fitzgerald I like the suggestion for making the first bucket broader.
@natalia-fitzgerald Here's an updated take based on the above comments about how the link destination supports a user completing a task. Framed as a decision tree in this case.
graph TD;
A[Is the user logged in on the **current** page?]-->|No| B(Link opens in same page);
A-->|Yes| C(Does the **destination** page require them to be logged in?);
C-->|No| D(Link opens in a new tab)
C-->|Yes| E(Link opens in the same page)
The key assumptions here are:
And the idea of having links open in the same page when they are not logged in reflects the fact that we don't really know what they are doing at that point--though should ensure that they are not getting new tabs when they are trying to log in to our platform.
This also, to me, seems to follow the general guidelines mentioned in this ticket too.
Does this make more sense than the initial buckets? Do you think it misses any clear cases?
@dan-padgett Using the logic you presented I took a look at all of the links on our pages and mapped them out. I didn't find any outliers. If this looks good to you I think we can share this out with dev and see what they think?
--
--
--
--
--
--
--
This is great @natalia-fitzgerald. I think that all looks good with one consideration for "Complete your user profile". We might want to treat this as a special case since a user would lose any data entered into the fields if they clicked a link. For that reason, the Privacy Notice seems like it should open in a new tab. Since all of the other links are outside of the form fields, it's probably safe to say that they intend to navigate away from the page if they click on them.
@dan-padgett As we discussed in chat, the ideal time for a user to visit the "View Privacy Notice" would be before they enter any personal information.
A few weeks ago we proposed an approach where the "View Privacy Notice" would be positioned outside of the form well and in the intro text for the section. This positioning would further emphasize that the user should read the content on the Privacy Notice page before entering and submitting their information.
If this is the only exception to our logic to me it shows more that the positioning of this link is faulty instead of the logic needing an exception. If we move the "View Privacy Notice" link out of the form well and into the intro text I would expect it to open in the same tab and for any data entered below to not be preserved.
Current positioning | UX recommendation |
---|---|
Concur on having another reason to move the Privacy Notice link outside of the well. I'm also on board with the reasoning you suggested in chat for having this link open in the same page: that even though it's in the well, it is still before the form fields so we're encouraging users to click on it before entering any data. So the mapping you wrote above can be our recommendation for how to handle links.
This will also be documented in the story issue.
In this criteria "logged in to our platform" means that they are logged in to Keycloak, Login.gov, and they have been authenticated. Complete your user profile and the complete your user profile confirmation pages do not meet this criteria since the user has not been authenticated.
The purpose of this issue is to gather information and discuss the question of when we would like links to open in a new tab on the shared platform and within the filing flow.
CFPB Design System --- link behavior guidelines
Opening a link in the current tab (default)
Opening a link in a new tab
Non-cf.gov guidelines
Questions
Unique aspects of our platform (when compared to standard cf.gov pages)
Ways to frame when to open in a new tab
List of platform links: