Back to the original French page Read this page in Italian by Google Translation Read this page in Portuguese by Google Translation Read this page in English by Google Translation Read this page in German by Google Translation Read this page in Spanish by Google Translation Read this page in Arabic by Google Translation Read this page in Hebrew by Google Translation

Accessibility of Web links: introduction

Go to Beginning of content without using the bar Consultation and Sharing How to use the bar Consultation and Sharing Listen to the main content of this page
Print Print the main content of this page Send Email the main content of this page Share Share this page on TwitThis Share this page on Facebook Share this page on Wikio Share this page on Google Share this page on LinkedIn Share this page on Digg Share this page on del.icio.us Share this page on Netvibes

Warning: The original version of this document is Web Links and Hypertext: an introduction . This French translation was done by Ideose as part of an agreement between WebAIM and Ideose .

Note: See page documents on web accessibility for a list of all translated documents. Other resources on web accessibility are also listed in the portal accessible digital .

Overview

The hyperlink is one of the basic elements of HTML as its name suggests (HTML stands for HyperText Markup Language). As such, make hyperlinks accessible is one of the most fundamental and most important of web accessibility. Mostly, this is an easy task. The hyperlinks will work with any standard technologies and platforms. Users of all levels can access it directly or through the use of assistive technology. But as can be expected, the accessibility of hyperlinks is not simply to create a link. Some types of links are more accessible than others, and some types of links are inaccessible to people with certain disabilities. Because links are so essential to the operation of web content, the links are inaccessible one of the most serious barriers to the overall accessibility.

Accessibility links the keyboard

Users must be able to browse and select each link using the keyboard alone. permet aux utilisateurs d'activer un lien. In most browsers, the Tab key to move from link to link, and the Enter key allows users to activate a link. If the only way to access a link with a mouse then the link is unusable for people who can not use a mouse. How is it possible to create a link that is inaccessible to the keyboard? The most common method is to use JavaScript event handlers that do not allow keyboard access (read the document on JavaScript event handlers ). In other ways to make the links accessible to users using the keyboard, there is the fact of using non-HTML technologies such as Flash or Java, to create links in an HTML document. Java and Flash can be made accessible, but only if the developer uses them with a concern for accessibility. Overall, the creation of HTML links accessible is easier and simpler than creating links with other available technologies.

One of the biggest barriers is to create links that go nowhere. Developers sometimes use JavaScript to create dynamic menus that take place when the user hovers the mouse with some links. In some cases, the link itself leads nowhere. Its sole purpose is to display the menu links, which have their real destinations. This type of relationship often has a destination sign (#), which means that the link destination is on the same page. Click on this link causes no action. Users and those using the keyboard using the mouse will not get it by clicking this link.

Bad example

The link in this example is not going anywhere. Its sole purpose is to activate a JavaScript function.

<a href= »# "onmouseover= »dropdownmenu() »> Products </ a>

Users using the mouse can at least click on the links in the menu, but users using the keyboard can not access the menu. Therefore, the link is totally useless and all the link destinations of the menu are completely inaccessible. One solution is to abandon the dropdown menu and to use instead of hyperlinks. Another solution is to define a real link destination (eg, href="products.htm" ) which would list the same links that are available via the dropdown menu. For more information, see Example 2 of paragraph " onMouseOver and onMouseOut " in the document on JavaScript event handlers.

Screen readers and links

People who use screen readers to access the Web most often use the keyboard rather than mouse. Thus, keyboard accessibility is an important first step in making available hyperlinks to users of screen readers. Beyond the basic aspects of accessibility to the keyboard, it helps to know how users of screen readers to access the links.

Screen readers inform users that text (or image) is a link

JAWS says "link" before each link. modifie sa voix. For example, a link that says "products" would be read as "link products" by JAWS. IBM Home Page Reader alters his voice. A man's voice reads the text content so that it is a female voice that reads text links.

Result: there is no need to write "link" in the link text. All users already know that the link is a link. The question is more for the images used as links. There is no need to write "link" or "link" in the alt text of an image. Otherwise, JAWS users will hear "link graphic link to the products," which is redundant.

WebAIM is an initiative of:
Center for Persons with Disabilities (CPD) Utah State University

Copyright 1999-2009 WebAIM

Top of Page