Scrolling with arrow keys no longer works

From MozillaZine Knowledge Base

This article describes how to fix a problem in Firefox, Mozilla Suite or SeaMonkey, where you are not able to scroll through web pages when you press the Arrow keys, Space Bar, Home, or End keys. Such problems may be caused by having either Caret Browsing turned on or having the Number Lock key engaged. If the scroll bar is gone, see Scrollbar gone instead.

Caret browsing

When Caret Browsing is on, web pages act like word processor documents, with a blinking vertical bar that shows you where you are in the document. You may have inadvertently enabled Caret Browsing, which is toggled on and off by pressing the F7 key. To turn Caret Browsing off, press F7. [1] Note: On laptops and other computers with compact keyboards, the "fn + F7" key combination turns Caret Browsing on and off. Also Note: To restore Function key use without need for combination "Fn" usage, you can change a BIOS setting in your computers hardware, refer to OEM instructions.

To prevent people from accidentally turning on Caret Browsing when pressing F7, the application will show a confirmation dialog: Image:Caret browsing confirmation.png

If you see this dialog and you do not want to turn on Caret Browsing, click No.

If you selected "Do not show this dialog again", you can bring back this warning dialog by setting the preference accessibility.warn_on_browsewithcaret to true:

  1. Type about:config in the Location Bar.
  2. Press Enter.
  3. Find the preference name accessibility.warn_on_browsewithcaret.
  4. Double click on it to set it to true.

To reduce such problems in the future, you can add the following in your user.js file so that every session begins with Caret Browsing off and the warning dialog enabled.

// Get SpaceBar, PageUp, PageDown, Home, End to work properly if F7 hit accidentally
user_pref("accessibility.browsewithcaret", false);
user_pref("accessibility.warn_on_browsewithcaret", true);

Number Lock

When the "NumLk" key is active any keys that share the numeric keypad will be inaccessible while Number Lock is engaged.

See also