]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add reveal accesibility codepen!
authorharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 18:58:01 +0000 (00:28 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 18:58:01 +0000 (00:28 +0530)
docs/pages/reveal.md

index b43104a5046a7c1ac3d961ac11b0768229c8ba92..a7153b3db6563ebe6f80b54256c43f95966e55f2 100644 (file)
@@ -243,6 +243,14 @@ $.ajax('/url')
 
 Modals by default are accessible through the use of various ARIA attributes.  To make a modal even more accessible, designate a label to the modal by adding `aria-labelledby="exampleModalHeader11"` to the container and `id="exampleModalHeader11"` to the elment you want to designate as the label.
 
+<p>
+  <a class="" data-open-video="0:39"><img src="https://www.elastic.co/static/images/svg/video-play-btn.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+</p>
+
+<div class="docs-codepen-container">
+  <a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/RVJEBZ?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/codepen-button.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <p><a data-open="exampleModal11">Click me for a modal</a></p>