# Why does backspace go back a page? This behavior is so frustrating!

When using a browser, like Firefox, I appreciate that I can easily navigate my tab history with Alt+ (for back) and Alt+ (for forward.) That makes perfectly good sense to me, and I've used that keyboard shortcut for the longest time.

I frequently do text input in web pages. On some pages (but not all) when I want to erase the last few characters I just typed, I tap Backspace several times. Tap tap tap. And then, lo-and-behold, my browser is leaving the page I was on and going back in the tab history. I may have lost what I was writing. And I am a very unhappy user.

Chrome developers have decided to remove this, see this story from Ars Technica:

Google hovers over delete button for backspace nav shortcut in Chrome Google: Only 0.04 percent of page views navigate via the backspace button. ... We have UseCounters showing that 0.04 percent of page views navigate back via the backspace button and 0.005 percent of page views are after a form interaction.

This means that up to 1 in 8 backspace navigations could be losing user data.

I hypothesize that many of these are accidental - I lost text again a few days ago because of this feature.

Why did browser creators think this is such a great feature? Alt+ is unambiguous. But to overload the Backspace key with this behavior is atrocious! I can see from a quick Google search that many others are frustrated by this.

• How did this come about?
• Is the standard default behavior too strongly established to reverse course?
• Can we change it, and what would be the plan to do so?

## Canonical paths to blocking this

I'll be logging the canonical ways to turn this off for browsers here, and I do not want to see software add-ons here:

• This blog entry by Jeff atwood would also apply: blog.codinghorror.com/the-opposite-of-fitts-law and it seems discussed a great deal in this chromium bug report: code.google.com/p/chromium/issues/detail?id=144832 but I'm not qualified enough for it to be time-effective for me to attempt to answer. – Aaron Hall Feb 28 '14 at 19:43
• That bug report is very interesting! It is almost a usability test report in itself! :) – Evil Closet Monkey Feb 28 '14 at 19:46
• I don't understand. Backspace never goes back a page when the focus is on a textfield, such as a textbox, address bar etc. This behaviour is the same even in Windows Explorer. As long as Backspace is constrained to a textfield, you can go on pressing it, and the browser/window will never leave the current page. Morever, you never type when your focus is not in a text field, so the overloading of the backspace is perfectly justified. – SNag Mar 21 '14 at 18:05
• On linux Mozilla disabled the backspace key mapping since 2006-12-07 – ilanco Mar 22 '14 at 12:50
• @SNag - It's far too easy to lose focus on the text field for whatever reason. I'm posting this almost a year and a half after your comment after encountering the same problem, and reading through the bug report page of many other users encountering the same problem. I don't think the overloading is even close to justified. – Lou Aug 9 '15 at 21:59

I don't know how it started but I can add my two cents about what ALL my clients say:

# $%!$% what the @$#%#% just happened? Why did the page change? Now I have to fill in that form all over again. I would love to see this go away for good, and the first thing I do when building a form laden website is the following jQuery script: var hasfocus = 'false'; // when focus happens, set a variable$(document).on('focusin','input, textarea',function() {
hasfocus = 'true';
});

// unset when focus is not happening
$(document).on('focusout','input, textarea',function() { hasfocus = 'false'; }); // if not in a form field, stop backspace and delete default action$(document).keypress(function (e) {
if(e.which == 8 || e.which == 46) {
if(hasfocus == 'false') {
e.preventDefault();
}
}
});

• I would love to see how other people handle this in javascript without jQuery too. And I have used this code for years with no complaint, but if there is a better way I am all ears :) – pathfinder Mar 22 '14 at 2:27
• StackOverflow would be the place to provide this type of answer. In fact, artificially capturing the backspace key and altering its behavior is poor UX. The user should not have to relearn what a certain key does on your web site versus every other website. – Evil Closet Monkey Mar 22 '14 at 3:11
• I think a lot of heavily used sites that are very focused on user experience are actually doing this. – Aaron Hall Mar 22 '14 at 4:23
• hey closet monkey, as my answer states, not one of my clients (or users) knows the backspace is supposed to do that, so I am actually making the UX be what they expect. In fact, not one of the people filling out a form and actually unfocusing from the text field wants to go back a page and lose all the data they just input. It is especially painful on a joomla or wordpress site when you spent an hour writing an article and accidentally do this. – pathfinder Mar 22 '14 at 4:31
• plus I stop my users from cursing at their computers, so I would expect that the user experience for them is greatly enhanced :) – pathfinder Mar 22 '14 at 5:44

# What We Know So Far:

The first browser did not use Backspace to go back a page:

Several Mosaic menu or button functions have keyboard equivalents. Among them:

b, equivalent to the Back button

First Netscape Navigator (evolved from Mosaic) Did Not Use Backspace

Scroll to previous page: Page Up

Possible reason why Microsoft used Backspace for back a page:

Back in 9/26/95, the Backspace key was mapped for go up one directory in Windows Explorer. This could be the reason why Microsoft also used the Backspace key on their IE for back/up a page. Of course, this is pure speculation on my part :)

For Firefox:

The backspace key was mapped to the browser ‘Back’ function in Mozilla for consistency with Internet Explorer.

For other browsers:

I think the reason is similar to Firefox's, for consistency sake.

• How did this come about?

In 2005 this was implemented on Mozilla Firefox for the following reasons:

The backspace key was mapped to the browser ‘Back’ function in Mozilla for consistency with Internet Explorer. However, to improve consistency with other applications running on Linux, it was decided that this mapping should be optional—and set based on which platform the browser was running on. As a compromise, this preference was created to allow the backspace key to either go back/forward, scroll up/down a page, or do nothing.

Reference: Browser.backspace_action

• Is the standard default behavior too strongly established to reverse course?

For almost ten years of internet browsing history, this is the default behavior. We may dislike it, but it will prevail a lot of Internet forums anger about it. There is a setting, which one can use if this is frustrating enough. Sometimes it's better to just accept things the way they are, take the minut it takes to change the default action, and forget it. I do this every time I download a new browser, since default doesn't work for me. Instead I see these options as a way to customize the browser to work the way I want, since I'm an unique user.

Developing a browser to work for all users, the way all users want is impossible. Instead one need to test how the browser is used to come up with a default setting, which can be customized. There is probably no good reason to keep a bad default setting.

Sometimes things live on even if the original meaning have since long disappeared. This may stand in your way, if your trying to change things. Reference: Save icon, is the floppy disk icon dead?

• Can we change it if we establish that no-one uses it? (And how would we establish that?)

It's always possible to change things, but the longer an action has been around, the harder it's to change. You need to prove through scientific valid user testing that this setting really is a bad behavior. It takes time and effort, but you could definitely make it happen. Just remember to not test your friends. Test a large enough random user group, make your statistical metrics public, and convince Firefox governator that this should be changed.

Keep us posted on your progress and Good Luck!

• Why can't Mozilla think for themselves? I hate it when people just blindly copy things from others, it just shows a total lack of thought and innovation. – user43251 Jun 2 '14 at 8:51
• I bet that any survey on whether users actually use Backspace to go back a page, or heck, even a survey on whether they want this behavior, would yield a pretty clear result. – Marc.2377 Apr 14 '18 at 5:15

That feature is inherited from windows explorer feature, that migrated to Internet Explorer and then to other browsers. It became a de facto standard, due that most computers had Windows and Internet Explorer

## protected by JonW♦Jul 13 '15 at 9:57

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).