Longdesc attribute

Longdesc attribute

In HTML, longdesc is an attribute used within the image element, frame element, or iframe element. It is used to reference a long description website of the image, frame, or iframe in question.

Longdesc is often used by screen readers to display image information for computer users with accessibility issues, such as the blind or visually impaired.

This is especially important for image maps and similar images because the links of the maps can be listed on the longdesc page.

Example

Content of description.html:...

This is an image of a two-layered birthday cake.

...

Linking to the long description in the text

Since some browsers and screen readers have problems displaying the longdesc, or do not display it at all, it is possible to link to the longdesc page outside of the <img/> tag with a capital "D":

Example

[D]

See also

* alt attribute
* title attribute

External links

* [http://www.w3.org/TR/html401/struct/objects.html More information from the W3C site]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Alt attribute — The alt attribute is used in HTML and XHTML documents to specify text that is to be rendered when the element to which it is applied cannot be rendered. In HTML 4.01, the attribute is required for the img and area element types. It is optional… …   Wikipedia

  • HTML element — This article is about the HTML elements in general. For information on how to format Wikipedia entries, see Help:Wiki markup and Help:HTML in wikitext HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character …   Wikipedia

  • Comparison of layout engines (Document Object Model) — The following tables compare DOM compatibility and support for a number of layout engines. Please see the individual products articles for further information. This article is not all inclusive or necessarily up to date. Unless otherwise… …   Wikipedia

  • WCAG — Die Web Content Accessibility Guidelines[1] (WCAG) sind eine Empfehlung der Web Accessibility Initiative (WAI) des World Wide Web Consortium (W3C) zur barrierefreien Gestaltung der Inhalte von Internetangeboten. Webseiten, die diesen Richtlinien… …   Deutsch Wikipedia

  • WCAG 1.0 — Die Web Content Accessibility Guidelines[1] (WCAG) sind eine Empfehlung der Web Accessibility Initiative (WAI) des World Wide Web Consortium (W3C) zur barrierefreien Gestaltung der Inhalte von Internetangeboten. Webseiten, die diesen Richtlinien… …   Deutsch Wikipedia

  • Web Content Accessibility Guidelines — Die Web Content Accessibility Guidelines[1] (WCAG) – deutsch: Richtlinien für barrierefreie Webinhalte – sind eine Empfehlung der Web Accessibility Initiative (WAI) des World Wide Web Consortiums (W3C) zur barrierefreien Gestaltung der Inhalte… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”