Closed bpdesigns closed 5 years ago
@allisonnorman @Jkrzy I think this should be a easy switch that will improve the experience for people
I'd also make the header links open in a new tab
Annnnnd any links in the content pages that go to a new site_ they should also open in a new tab for the same reason stated above. (Note: links to internal site content should always open in the same window and not a new one.
The only place I'm seeing this in a quick scan is:
@amandacostello if there are other links to outside resources from the content pages.
I am pretty sure we made a decision earlier on to not open up new tabs for any external links, as it makes a choice on behalf of the visitor and standard practices are to not do that. I could see making an exception for the feedback form but otherwise, I think we should be consistent with what we decided before, unless we have a reason not to follow that standard.
Agreed. The reason I wrote the comment is that searches are lost if you exit the site then reenter it from the back button. I think will disruptive for people. I'm not sure if this was always the case with the site. If it is, I'm sorry I overlooked it til now :(
No need to be sorry! I'm just weary of making changes, even small ones, given how close we are to launching.
@davemcorwin - Just curious. Is there a way to universally change this for external links or would it be manual? What do you think about this?
Right now we are opening the Google map links in a new tab, but I think that's it. As @allisonnorman mentioned, if the user navigates away from the site we lose the search even if they hit the back button since the data is only stored in memory.
@allisonnorman I can make a change to be able to make a universal change :) That is, I can change the component we are using for all external links so it would be the default behavior as opposed to adding target="_blank"
everywhere...
Alternatively, we can make enhancements to enable the search to be retained via the "back" button for users who navigate away.
The latter is definitely more work and potentially more risky but doable in the timeframe that we have.
Totally understand not wanting to change anything too much at this state @allisonnorman :)
I think this could wait til after launch but would want to prioritize it as high after that.
Two links I would manually change to open in a new tab now if there is time are:
Universally changing the external links to target = blank seems to be the easiest option and I'm fine with that, especially if you think reduces barriers for the audience, @bpdesigns.
@davemcorwin - I know you have a lot going on with documentation, but do you think this is feasible in the next couple days? I think we should just make the change in prod rather than making it on the launch prep branch.
Both options:
are low-lift and low-risk, and can be done today.
Great. Let's go with option 2. I updated the issue for this.
Current State
Desired State (updated)
Reason