m:mediaobject-start
m:mediaobject-start — Process the start of media objects.
Description
Media objects (both the mediaobject
and inlinemediaobject
containers as well as the imageobject
s etc. inside them) are processed
in this mode immediately after the start tag. Templates in this mode can output
attributes, such as summary
or alt
, as well as additional
accessibility elements; it may also be used to output legal notices, etc. that should
precede the primary content.
If the $mediaobject-accessibility
parameter includes
a11y-metadata
then any short accessibility summary will be output
in a meta
element with the
property value a11y:accessibilitySummary
. In addition, any meta
elements in the info
will be processed in this mode as well (so they can also
be output using accessibility meta properties.
See also m:mediaobject-end.