This accessibility error took a while to solve. Using the WAI validator mentioned in Sept 26, 2006 blog entry, the following occurred:
Error:
All IFRAME elements are required to contain element content.
Here is the best description on how to fix it. (from Cynthia Says website tutorial)
7. Inline Frame (IFRAME)
Example seven demonstrates the proper accessibility coding for Inline frames. Inline frames prove an excellent TABLE or FRAME alternative. The rule states that all IFRAME elements are required to contain element content.
Current HTML – EXAMPLE 7
In the current HTML the element content for the IFRAME element is not present.
<iframe name=”I1″ src=”sample.htm”>
</iframe>
Corrected HTML– EXAMPLE 7
In the corrected HTML the element content is present.
<iframe name=”I1″ src=”sample.htm”>
Your browser does not support inline frames or is currently configured not to display inline frames. Content can be viewed at actual source page: http://www.smartlabsoftware.com/sample.htm
</iframe>
Doug