alt

alt — A text-only annotation, often used for accessibility.

Synopsis

alt ::= [-]

Description

The alt element was originally added to DocBook to provide an alternative, usually text, presentation for graphical elements. In DocBook V5.0, it was made a “ubiquitous” element so that it's available almost everywhere. The semantic intent of alt is simply that it provides alternative text, often for accessibility.

Processing expectations

May be formatted inline or as a displayed block, depending on context. It is not usually rendered where it occurs, rather it is used to annotate some other aspect of the presentation.

For example, in an HTML presentation, the alt for a media object would likely provide the text of the alt attribute for the HTML img element.

In the context of an acronym, the alt could provide the title attribute for the HTML abbr element allowing the expansion to be presented appropriately to the user (as a “tooltip”, for example, or read aloud).

Parents [+]

This element occurs in 185 elements.

Children

The following elements occur in alt: text, inlinemediaobject.

Last revised by Norman Walsh on (git hash: d28688be264806aeddbb88adf828e21a6da7e045 1298981c5136f588e52241e6cff47dd59218a5a1 af75947d692f1dff09fd81445ad0ce85b9f33c75 6ffcc7640bbc5f852a318e452c9f210f03292cb9)