
1. Browsing
Amaya is mainly an editor with browsing capabilities. It allows you to edit and browse Web documents
simultaneously. Browsing with Amaya is similar to browsing with other Web browsers except for
activating a link and using forms.
Amaya allows you to display and edit HTML documents as well as some XML document types:
XHTML, MathML (mathematical expressions) and SVG (gaphics). It also allows you to access other
XML document types and to display their content according to their CSS style sheets. For these XML
documents some editing functions are available.
1.1. Activating a link
Because Amaya is both a browser and an editor, you get different results when you single-click, double-
click, or right-click a link.
• Single-click a link to move the cursor to that position in the document. The status bar
displays the expanded URI of the link. You can now edit the content of the link.
• Double-click a link to activate it and skip to its target. The document retrieved by this
operation replaces the current document in the same tab as the original document. If the original
document was modified and has not been saved yet, a dialog box is displayed. It allows you to
save the changes you have made before replacing the original document.
If you have chosen a profile without the navigation feature, or if you are in help pages, the
retrieved document is displayed in a new tab.
• Right-click a link (or Cmd + Single-click on MacOS X) to activate the link and open the
target document in a new tab or a new window (a pop-up menu allows you to choose).
This behavior can be changed through the Browsing tab under the Preferences dialog. By changing
option Double click activates link, you can browse documents with a single click as you would in a
traditional Web browser. You will then not be able to edit the content of a link by clicking it, but you can
move the cursor within a link with the arrow keys.
Other browsing preferences such as whether images should be loaded or not, whether CSS style sheets
should be applied or not, can be set in the Browsing Preferences dialog.
You can also use the keyboard to select links and to activate them. Key Tab allows you to move to the
next link or form field in the document. Shift Tab allows you to move to the previous link or form
field. Alt ↓ activates the current link. You can choose other keys to perform these commands.
1.2. Access keys
Access keys provide shortcuts for moving the cursor to a form field, an area, or a link. This kind of
access is crucial to people with motor disabilities, but there are other conditions where it could be
necessary or useful.
When developing a web document, you can associate the accesskey attribute with the following
elements: a, area, button, input, label, legend, and textarea.
For example, if you associate the accesskey attribute with a link in a document using accesskey="n"
or accesskey="N", command Alt-accesskey (Alt-n or Alt-N in this example) will activate that link
(on MacOS X, use Ctrl instead of Alt). If the accesskey attribute is associated to a form element,
pressing Alt-accesskey moves the focus to that element (or to the following element if associated with
a label or legend element).
1. Browsing
3
Komentáře k této Příručce