Skip to content

Commit 2dc112c

Browse files
authored
Add note on sharing iframe content with third-party websites (#15)
* Add note about third-party iframe support * Rebuild docs * Patch version bump
1 parent 57d71ea commit 2dc112c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

docs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,10 @@ <h3 id="subsection-iframe">Iframe</h3>
631631
title="Example blank iframe"
632632
name="iframe">
633633
</iframe>
634+
<h4 id="notes-iframe">Notes:</h4>
635+
<p>
636+
<small>Use the <code translate="no">allow=&quot;web-share&quot;</code> declaration to <a rel="external noopener" href="https://www.webkit.org/blog/13708/allowing-web-share-on-third-party-sites/">enable sharing of <code translate="no">&lt;iframe&gt;</code> content via the Web Share API</a> on third-party sites.</small>
637+
</p>
634638
<!-- End of #subsection-iframe -->
635639

636640
<!-- Start of #subsection-audio -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "accessible-html-content-patterns",
33
"description": "A collection of the full HTML5 Doctor Element Index as well as common markup patterns for quick reference.",
44
"homepage": "https://github.com/ericwbailey/accessible-html-content-patterns",
5-
"version": "2.0.3",
5+
"version": "2.0.4",
66
"license": "MIT",
77
"author": "Eric Bailey <[email protected]> (http://ericwbailey.design/)",
88
"contributors": "Scott Doxey <[email protected]> (https://www.scottdoxey.com/)",

partials/section.embedded.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
title="Example blank iframe"
111111
name="iframe">
112112
</iframe>
113+
<h4 id="notes-iframe">Notes:</h4>
114+
<p>
115+
<small>Use the <code translate="no">allow=&quot;web-share&quot;</code> declaration to <a rel="external noopener" href="https://www.webkit.org/blog/13708/allowing-web-share-on-third-party-sites/">enable sharing of <code translate="no">&lt;iframe&gt;</code> content via the Web Share API</a> on third-party sites.</small>
116+
</p>
113117
<!-- End of #subsection-iframe -->
114118

115119
<!-- Start of #subsection-audio -->

0 commit comments

Comments
 (0)