2

As in this research mentions, you should not break the back button (and Nielsen said it as well).

My question is in regard to 2 separate edge cases:

From the homepage you search on an e-commerce site for 'blue shoes'.

  1. You change the view from list to grid view and then click the browser back button.
  2. You change the listings from 24 to 48 per page and then click the browser back button.

What would the user expect when he presses the back button in each of these cases -> a reset in view (ie. bring you from the selected grid view back to list view, still on the same page) or back to the previous page (ie. homepage)?

1
  • Good question! .
    – Shahriar
    Jan 29, 2022 at 15:18

5 Answers 5

0

If I were your user, my expectation is backing to the place which I previously come from, so refer to your user case, here is my answer

You change the view from list to grid view and then click the browser back button.

Back to the grid view.

You change the listings from 24 to 48 per page and then click the browser back button.

Back to the 24 per page.

0

You can not expect a mango tree to give you a coconut. Of course that almost every user will expect to return to the previous page instead of any other behavior just simply because that's the normal behavior of the browser's back button. Now, that said, you can modify the back button to fit your needs but you have to consider of it is absolutely necessary because you are breaking the normal journey of the user and you must have a real good reason for doing that.

9
  • Please check the first link in the question. The idea is not about whether it is useful to change the browser back button, but what is the expected behavior from the user when he presses the back button in the 2 cases mentioned above.
    – remeo
    Aug 1, 2021 at 17:42
  • If I'm not mistaken your question is this Should the back button in each case reset the change in view, or bring you back to the homepage? and it was what I answered. What you say now, what is the expected behavior from the user when he presses the back button in the 2 cases mentioned above? is something else. In this case the expected behaviour of a standard user is trying to return to tthe page where he/she was before. If you need a clearer answer, please provide then a clearer question. Aug 1, 2021 at 18:01
  • Fair point, clarified the question.
    – remeo
    Aug 2, 2021 at 6:34
  • Updated answer too. Aug 2, 2021 at 10:25
  • The question is - what is the expected behavior, or more precise - what does the user see as back to the previous page? Is back to the 'page' where it had 24 instead of 48 items, or is it back to the homepage.
    – remeo
    Aug 3, 2021 at 13:26
0

You change the view from list to grid view and then click the browser back button.

If the list/ grid toggle action is persistent - say, it remains in the title bar - then the user is more likely to expect the back button to return then to the homepage. Otherwise, they are likely to expect the other view.

Title bar with view list icon

You change the listings from 24 to 48 per page and then click the browser back button.

Because changing the # of items is the list is similar to scrolling for more results, I believe that users will expect a back button to return them to the homepage.

0

Well, I think the question you need to ask is: Does changing the view mode feels like a new page?

Because (also as per your linked article) that is what users expect from the back button: It bringing you back to the previous "page".

Now, personally I don't think grid/list view toggling or changing the number of listings is "a new page", so I would expect the back button to bring me to whatever the actual previous page was (homepage etc). However, I am not your user!

If for example your target group is less adept with handling complex UIs, an action that completely changes the UI (list/grid switch) they might go "Oh no! What happened? Take me back! But in this case, back would mean to the other view, not the homepage.

TLDR:

Either do a best guess based on whether you feel it's a "new page" or do A/B testing based user research.

0

By default, the "back" button in the browser always takes you to the preceding page. This is not only about user experience but also about development infrastructure.

Modifying the display of products does not entail navigating to a different page, so the "back" button will lead you back to the home page.

and when changing the list view from 24 to 48 products, no transition to another page occurs, and everything takes place on the same page. If, however, the product area were paginated like on Amazon, and I navigated to page 2, the "back" button would indeed return me to page 1.

This is a development infrastructure that cannot be altered, and it's beneficial, as it aligns with what users are accustomed to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.