Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                 <h1><a href="https://w3c.github.io/aria/#aria-hidden"><code>aria-hidden</code></a></h1>
<p>A bookmarklet (toggle on/off) to make what is hidden (often imperfectly) to Screen reader users, apparent to those who don't: <a href="javascript:(function(){var d=document,id='ahbkmklt',el=d.getElementById(id),f=d.querySelectorAll('iframe'),i=0,l=f.length;if(el){el.remove(); if(l){for(i=0;i<l;i++){try{f[i].contentWindow.document.getElementById(id).remove();}catch(e){console.log(e)}}}}else{s=d.createElement('style');s.id=id;s.appendChild(d.createTextNode('*[aria-hidden=%22true%22]{color:black !important;background:black!important;outline:red solid 2px;!important;} *[aria-hidden=%22true%22] *{visibility:hidden !important} *[aria-hidden=%22true%22]:before{content:%22😝%22 !important;}'));d.getElementsByTagName('head')[0].appendChild(s);for(i=0;i<l;i++){try{f[i].contentWindow.document.getElementsByTagName('head')[0].appendChild(s.cloneNode(true));}catch(e){console.log(e)}}}})();">visual aria-hidden</a></p>
<h2>Test 1. <code>&lt;blockquote></code> + <code>aria-hidden</code></h2>
<blockquote aria-hidden="true"> Text available to all except screen readers. </blockquote>
<h3>code:</h3>
<pre>&lt;blockquote <mark>aria-hidden="true"</mark>&gt;
Text available to all except screen readers. 
&lt;/blockquote&gt;</pre>
<h2>Test 2. <code>&lt;blockquote></code> - <code>aria-hidden</code></h2>
<blockquote>Text available to all </blockquote>
<h2>code:</h2>
<pre>&lt;blockquote <mark><s>aria-hidden="true"</s></mark>&gt;
Text available to all 
&lt;/blockquote&gt;</pre>

<h2>Test 3. <code>&lt;blockquote></code> with link + <code>aria-hidden</code></h2>
<blockquote aria-hidden="true">
 <p><a href="https://en.wikipedia.org/wiki/Folie_%C3%A0_Deux_(The_X-Files)"><span lang="fr">Folie à Deux</span></a> (The <span tabindex="-1">X-Files</span>)</p>
  <input type="image" src="https://assets.codepen.io/128034/hides.jpg" alt="hides in the light" width="500" onclick="skinner();">
    <p tabindex="0"><span lang="fr">Folie à Deux</span>, a form of insanity shared by two people. It usually begins with one person who conceives of a delusional belief and then spreads it to another; thus, those two share the same delusion.</p>
  </blockquote>
<h2>Test 4. <code>&lt;blockquote></code> with link - <code>aria-hidden</code></h2>
<blockquote>
 <p><a href="https://en.wikipedia.org/wiki/Folie_%C3%A0_Deux_(The_X-Files)"><span lang="fr">Folie à Deux</span></a> (The <span tabindex="-1">X-Files</span>)</p>
  <input type="image" src="https://assets.codepen.io/128034/hides.jpg" alt="hides in the light" width="500" onclick="skinner();">
    <p tabindex="0"><span lang="fr">Folie à Deux</span>, a form of insanity shared by two people. It usually begins with one person who conceives of a delusional belief and then spreads it to another; thus, those two share the same delusion.</p> </blockquote>


              
            
!

CSS

              
                blockquote {
	border-left: solid 3px #e22658;padding-left:5px
}
pre {border:1px solid grey;padding:1em;width:30em}
              
            
!

JS

              
                function skinner() {
  alert("Walter Skinner is nearly attacked by Pincus in his true form. Many members of the production staff derided the look of the monster's costume.");
}
              
            
!
999px

Console