Technique H46:Using noembed
with embed
About this Technique
This technique is not referenced from any Understanding document.
This technique applies to documents that load plugins with the embed
element.
Description
The objective of this technique is to provide alternative content for the
embed
element in a noembed
element. The noembed
is rendered
only if the embed
is not supported. While it can be positioned anywhere on the
page, it is a good idea to include it as a child element of embed
so that it is
clear to assistive technologies that a text alternative is associated with the
embed
element it describes.
Examples
Example 1:
noembed
is provided inside an embed
<embed src="../movies/history_of_rome.mov" height="60" width="144" autostart="false"> <noembed> <a href="../transcripts/transcript_history_rome.htm">Transcript of "The history of Rome"</a> </noembed> </embed>
Example 2:
noembed
is provided beside an embed
<embed src="moviename.swf" width="100" height="80" pluginspage="http://example.com/shockwave/download/" /> <noembed> <img alt="Still from Movie" src="moviename.gif" width="100" height="80" /> </noembed>;
Tests
Procedure
- Check if
embed
element has a childnoembed
element - Check if
embed
element has anoembed
element that immediately follows it.
Expected Results
- #1 is true or #2 is true