| |
LinkUsage | Types | Links vs. Buttons | States | Design-relevant Attributes | Related Controls
UsageThe link control is not the simple topic it may seem to be. Not all links should be handled equally. There are hypertext links in the navigation area, header area, and content area as well as on buttons and in tables and applications. All of these links can have different appearances and behaviors. For aesthetic and usability reasons, the links in the navigation area (not to be confused with content area navigation links!) have a different appearance from those in the content area. It's important that the user recognizes these links as pertaining to the overall navigational structure and not just a way to drill-down to detail information or jump to a page in a different context. The HTMLB control called "link," which is described here, refers to hypertext links (referred to here as "links") in the content area. PositioningLinks may either appear
Standalone links should be grouped together separately from buttons and vice versa. When possible, functions and links should be grouped together and displayed in the same way (either all as links or all as buttons), as in figure 1. A mixture of links and buttons in the same grouping context should be avoided. View switching links are most often displayed above the content to which they refer, as in figure 2. CapitalizationIt is not necessary to make any special capitalization considerations for links that are part of a larger context or that are automatically generated (such as contact names, document titles, etc.). In the same way that buttons require title case capitalization (i.e. the first word always capitalized, all significant words are capitalized, prepositions and articles are not capitalized), so do function, navigation, toggle and view switching links.
TypesAlthough there is only one link type from a technical point of view, we must make a distinction between the various kinds of links in the content area. This helps to establish usage rules for links and to make a distinction between buttons and links. Note: Based on what purpose the links serve, we can establish five different types of content area links: view switch, toggle, drill-down, function, and navigation.
Toggle LinksToggle links are used when there are two alternative views of the current data. Toggle links are always pairs of links, but only one is visible at a time. In figure 4 the toggle link reads, "Show Entire Feedback Text." If the user were to click on that link, the alternative view would show the feedback in its entirety and the text of the link would change to "Show Only Feedback Preview." Some common examples of toggle links are:
Use title case (see Capitalization below) for toggle links. Drill-Down LinksA drill-down link allows a user to see more detailed or specific information. For example, in the overview of an address book, the contact names are drill-down links that allow the user to access details on that person. In a mail inbox, the title of each message would automatically be a link to the contents of the message. Some common drill-down links are:
These links are most often automatically generated and the developer should make no attempt to influence the capitalization. (See figure 2.) Function LinksA function link allows the user to carry out an action. Although in general buttons should be reserved for functions (see Links vs. Buttons for more information), there may be cases where a link would be preferable or where the distinction between a function and a link to another view might be very blurry.
Sometimes you may have a collection of items, for example a list of documents. There are some actions that you can perform all at once on a number of documents whereas there are other actions which make more sense when they are performed on each item one at a time. If the action requires a new screen or additional information (details, feedback, edit, reply, etc.), chances are that you can only perform the action on each item one at a time. In such cases, a link is generally preferable to a button.
Some common function links are:
Use title case (see Capitalization) for function links. Navigation LinksMany times, there will be navigation within an iView or application which is independent of the main navigation of the Portal. End users might not even perceive these links as "navigation" per se. Navigation links allow users to move backwards or forwards though a data set or process. Sometimes the difference between a drill-down link and a navigation link might be difficult to assess, for example with a "more..." link. Some common navigation links are:
Use title case (see Capitalization) for navigation links. Links vs. ButtonsIn general, use links to indicate navigation to another HTML page or to a different view of the current information as well as to link to further or more detailed information. Links commonly appear within the context of the application (within trees, tables or text). In general, use buttons to indicate that a function can be carried out (save, print, close, delete, etc.) or that a process can be started (subscribe, etc.). Buttons generally appear at the bottom left of a grouped area to indicate a function that can either be performed on selected items (if checkboxes appear as well) or that apply to the whole screen. (See the section of these guidelines called Buttons for further information.) For more information about cases where links may be used to indicate a function, see function links above.
StatesThe link control has four states: link (i.e. unvisited, normal state), hover, visited and active.
Table 1: Examples of the different states the link control can have Design-relevant AttributesAttribute reference allows to assign an URL to the link, whereas attribute target allows to set a link target. The latter follows the HTML conventions for specifying link targets. Attribute text sets the link text, and attribute tooltip the tooltip text for the link. For details see page Control API for Link. Related Controls
|