MINOR none visual indication for users using screenreaders that their experience might impaired by the iframe

This commit is contained in:
Paul Clarke 2013-07-08 17:31:36 +12:00
parent 0392d91018
commit 8df573c99a
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
$Content
<% if IFrameURL %>
<span id="Iframepage-loading" style="display: none;">Loading content...</span>
<div class="nonvisual-indicator" style="position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;">Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers.</div>
<iframe id="Iframepage-iframe" style="$Style" src="$IFrameURL" class="$Class">$AlternateContent</iframe>
<% end_if %>
$BottomContent
</div>
</div>