object elementDocuments that load media with the object element.
The objective of this technique is to provide a text alternative for content rendered
using the object element. The body of the object element can be used to provide a complete text alternative for the object, or may contain additional non-text content with text alternatives.
Fallback content for the object element is only available to the user when the media loaded by the element is not rendered by the user agent, because the user agent does not support the media technology or the user has instructed the user agent not to render that technology. In these situations, the fallback content will be presented to the user. If the media is rendered without the fallback content, the media needs to be directly accessible. Authors can only rely on this technique to satisfy the success criterion if they are not relying on the direct accessibility of the media's technology in their conformance claim, and reasonably expect users will be able to access the fallback.
<object classid="https://www.example.com/analogclock.py">
<p>Here is some text that describes the object and its operation.</p>
</object>
<object classid="https://www.example.com/animatedlogo.py">
<img src="staticlogo.gif" alt="Company Name">
</object>
<object data="companylogo.gif" type="image/gif">
<p>Company Name</p>
</object>
This example takes advantage of the fact the object elements may be nested to provide for alternative representations of information.
<object classid="java:Press.class" width="500" height="500">
<object data="pressure.mpeg" type="video/mpeg">
<object data="pressure.gif" type="image/gif">
As temperature increases, the molecules in the balloon...
</object>
</object>
</object>
object element contains a text alternative for the object.