Provision
1
:
Allow configuration to provide access to each piece of unrendered conditional content "C".
Provision
2
:
When a specification does not explain how to provide access to this content, do so as follows: If C is a summary, title, alternative, description, or expansion of another piece of content D, provide access through at least one of the following mechanisms: (1a) render C in place of D; (2a) render C in addition to D; (3a) provide access to C by allowing the user to query D. In this case, the user agent must also alert the user, on a per-element basis, to the existence of C (so that the user knows to query D); and (4a) allow the user to follow a link to C from the context of D. Otherwise, provide access to C through at least one of the following mechanisms: (1b) render a placeholder for C, and allow the user to view the original author-supplied content associated with each placeholder; (2b) provide access to C by query (e.g., allow the user to query an element for its attributes). In this case, the user agent must also alert the user, on a per-element basis, to the existence of C; and (3b) allow the user to follow a link in context to C.
Reload the page and determine whether or not the conditional content contained within the NOSCRIPT element is displayed.
Run test
Expected results
The conditional content associated with the NOSCRIPT element is displayed.
Source code
<script language="JavaScript" type="text/javascript" xml:space="preserve"> <div class="message">Scripting is disabled by the user agent. This is conditional content.</div> </script> <noscript> <div class="message">Scripting is disabled by the user agent. This is conditional content.</div> </noscript>