W3C Amaya

next

Browsing versus Editing

Amaya is mainly an editor with browsing capabilities. When used as a browser, it behaves like many other Web browsers, except for activating links. In normal operation Amaya allows you to browse and edit documents simultaneously, but you can change this standard behavior for each document window independently. The editor-mode button shows up that the window is in editor mode: you can edit the current document and browse in this window. By clicking on that button, you switch the window to browser mode. The button is then displayed as browser-mode and you can only browse and fill in forms. This option is also available from the Edit menu option Editor Mode, and as a keyboard shortcut (the default is Shift-Control-*).

Activating a link

Links are usually displayed in blue (or underlined on monochrome displays). As Amaya is an editor, you must double click on a link to activate it. A single click just moves the insertion point and displays the expanded URI of the link into the status bar of the main view. This behavior can be changed as well as many other parameters using a preferences menu. By changing the "Double click activates link", you can browse documents with a simple-click. In that case, you cannot easily put the insert point within anchors: you have to use the drag and/or arrows to move the insert point within an anchor. It is also possible to use the keyboard to activate links, as well as form controls. The default keyboard command is Alt-Enter.

The document retrieved by this operation normally replaces the current document in the same window, in the same mode (editor or browser ). However, if the current document has been modified and has not been saved yet, another window is created for the new document, to avoid losing last changes.

Access keys

An author could associate an attribute accesskey to a form field, an area, or a link. The following elements support the accesskey: AREA, BUTTON, INPUT, LABEL, LEGEND, and TEXTAREA.This can be crucial to people with motoric disabilities but there are other conditions where it could be necessary or useful.

When the author associated an attribute accesskey to a link in a document (example accesskey="n" or accesskey="N"), the command Alt-accesskey (in the example Alt-a) will activate that link. Pressing Alt- accesskey when assigned to a form element will give the focus to that element (the following element for LABEL and LEGEND).

Access keys overwrite Amaya shortcuts. For example Help pages declare access keys: "n" for going to the next page, "p" for going to the previous page and "t" for the table of contents. If the user has assigned a shortcut Alt-p to an Amaya command, this shortcut won't be accessible when these help pages are displayed. By default the modifier key used for access keys is Alt. The preferences menu Special/Preferences/General lets one changes this default configuration. The user can use the key Control instead of Alt or can decide to disable the access keys handler.

Target anchors

Some pieces of text can be displayed with a target icon  target . These icons are not part of the document and can be displayed or hidden just by controlling the Show targets status of the current window, which is an option in the Views menu. The default keyboard command is Control-v Control-t in Unix, Alt-v Alt-l in Windows.

These icons are associated to target elements, i.e. elements with an ID attribute, or target anchors, i.e. anchors with a name attribute. They identify possible targets for links. These icons are intended to make the creation of links easier. As you can quickly recognize the possible target of a link, you can create links faster.

Opening documents

You can open local or remote documents in several different ways:

File menu
Two entries from the File menu, Open Document and Open in New Window, allow you to open a new document in the same window or in a new window respectively. The default keyboard commands are respectively Control-x Contol-f and Control-x Control-o in Unix, Control-o and Shift-Control-O in Windows. Both commands bring up a dialog box where you can enter either a local file name or an URI. You can also select a file from the Browse option that contains a file browser and helps you to locate local files.

When the document is correctly specified, click on the Confirm button. This command could be also used to create a new local document.

Command line "Open"
This area displays the file name or the URI of the current document. You can edit it to specify a different (local or remote) document to be displayed in the same window. Press the Enter key when the cursor is in this area to actually load the document. This command could be also used to create a new local document.
Following links
Activating a link to get the corresponding document.

Moving backward and forward

There are several ways to move backward or forward through the history list:

File menu
There are entries in the file menu for Forward and Backward. The default keyboard shortcuts are Alt-b and Alt-f in Unix, and Alt-left-arrow and Alt-right-arrow in Windows
Button bar
Two buttons: Back and Forward allow you to go back to the previous page or forward to the next one.

Reloading a page

Documents can be reloaded using the Reload option in the File menu, the shortcut Alt-r in Unix and Control-r in Windows, or the reload button on the button bar.

Keyboard control

Amaya provides keyboard control for many functions. Default keyboard commands are provided at appropriate places in the documentation.. The help section on Configuring Amaya describes how to change the defaults, and the current key bindings are provided next to the relevant menu option in all menus.