MozillaZine

Ui.key.contentAccess

From MozillaZine Knowledge Base

Contents

Background

The HTML 4.01 specification defines the accesskey attribute for certain HTML elements (links, image maps, and some form controls). This allows the user to focus or activate the element. However, these shortcuts defined in web pages can conflict with Mozilla’s shortcuts. To avoid this problem, the access key used for web page content can be specified separately from the chrome. This preference determines which access key is used for web content displayed in Mozilla.

Possible values and their effects

0

Disable the accelerator key for the content.

1

Use "Shift" for the content access key.

2

Use "Ctrl" for the content access key. (Default in OS X)

4

Use "Alt" for the content access key.

8

Use "Meta" for the content access key.

(Other)

You can add any of the above values together to combine their functionality. That is, setting this preference to 3 (i.e., 1 + 2) means you need to press "Shift+Ctrl". In Windows and Linux, the default is 5 ("Shift+Alt").

Caveats

Recommended settings

It’s a good idea to keep this preference set to a different value than ui.key.chromeAccess for the reasons mentioned above.

First checked in

2006-07-13 by Gavin Sharp

Has an effect in

  • Mozilla Firefox (nightly trunk builds since 2006-07-13)
  • SeaMonkey (nightly builds since 2006-07-13)

Related bugs

Related preferences