Skip to main content

Why are broken links highlighted in relation to the "longdesc" tag?

Modified on: Mon, 14 Feb, 2022 at 10:05 AM

The longdesc attribute is used to specify a hyperlink to a detailed description of an image.

If the value of the string is not a hyperlink Quality Assurance will flag it as a broken link.

Here is an example of how the longdesc tag should be used.

<img src="image_dog.gif" longdesc="http://example.com/dog_description.html">

Further information on how to use the longdesc attribute is available at:

Consideration regarding the "longdesc" tag

  • The string should not contain only text.
  • If you want to use a short text description, use the “alt” attribute instead. See Accessibility: Image Alt text best practices
  • We’d recommend avoiding the use of the longdesc tag as it may not be supported by all web browsers.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.