Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


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


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.


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.


                <!DOCTYPE html>
<html lang="en">
  <!--  Meta  -->
  <meta charset="UTF-8" />
  <title>Accessibility: Setting text offscreen</title>
  <!--  Styles  -->
  <link rel="stylesheet" href="styles/index.processed.css">
  <h1>Accessibility (a11y): Setting Offscreen Text Example</h1>
  <h2>Links:</h2><a name="links"></a> 
  <p class="">This is an example of how to set text offscreen in a <a href="#" class="a-a11y">link<span class="offscreen"> this is not seen but can be read by assistive technologies</span></a> but still have it read by assistive technologies.</p> 
<p class="spacing">Look at the html to see the span tag that contains the offscreen text and class.</p>
  <p><strong>Note</strong> This technique can be applied to images that are used as links that have no discernable text to describe the links purpose.</p>

  <!-- Scripts -->
  <script src="scripts/index.js"></script>


 * index.scss
 * - Add any styles you want here!

body {
  background: #f5f5f5;
  font-size: 1.2rem;
  font-family: helvetica, san-serif;

/* CSS to add visual cues for accessibility */
a {
  outline: 1;

.a-a11y {
  color: #7b0064;
  font-weight: 600;

/* CSS to add visual cues for accessibility */
.a-a11y:focus {
  background: #290957;
  color: #fff;

.offscreen {
    border: 0;
    clip: rect(1px 1px 1px 1px);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  z-index: -1000;}

.spacing {padding-top: 35px;}