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

              
                <h2><a href="https://www.deque.com/blog/creating-accessible-svgs" target="_blank">Accessible SVG Pattern Comparison</a></h2>
<p><em>Note: this CodePen has updated testing results vs the blog post. The following pattern examples/results are the most accurate source of accessible SVG information.</em></p>
<p>Last updated: May 7, 2021</p>
<hr><br>
<h2>Using the &lt;img&gt; tag</h2>
<div class="grid">
  <div class="grid-item">
    <img class="lightbulb" alt="Lightbulb moment!" src="https://upload.wikimedia.org/wikipedia/commons/2/2b/BulbIcon.svg">
    <h3>Pattern 1:<br><code>&lt;img&gt;</code> + <code>alt="[words]"</code></h3>
  </div>
  <div class="grid-item">
    <img role="img" class="lightbulb" alt="Lightbulb moment!" src="https://upload.wikimedia.org/wikipedia/commons/2/2b/BulbIcon.svg">
    <h3>Pattern 2:<br><code>&lt;img&gt;</code> + <code>role="img"</code> + <code>alt="[words]"</code></h3>
  </div>
  <div class="grid-item">
    <img role="img" class="lightbulb" aria-label="Lightbulb moment!" src="https://upload.wikimedia.org/wikipedia/commons/2/2b/BulbIcon.svg">
    <h3>Pattern 3:<br><code>&lt;img&gt;</code> + <code>role="img"</code> + <code>aria-label="[words]"</code></h3>
  </div>
  <div class="grid-item">
    <p id="caption1" class="visually-hidden">Lightbulb moment!</p>
    <img role="img" aria-labelledby="caption1" class="lightbulb" src="https://upload.wikimedia.org/wikipedia/commons/2/2b/BulbIcon.svg">
    <h3>Pattern 4:<br><code>&lt;img&gt;</code> + <code>role="img"</code> + <code>aria-labelledby="[ID]"</code></h3>
  </div>
</div>
<hr><br>
<h2>Using the &lt;svg&gt; tag</h2>
<div class="grid">
  <div class="grid-item">
    <svg role="img" version="1.1" class="darkblue" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title>Lightbulb moment!</title>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19z M20,39h8v-1h-8
	V39z M20.2,40c0.2,0.3,0.4,0.5,0.7,0.8c0.8,0.8,1.9,1.2,3.2,1.2s2.3-0.5,3.2-1.2c0.3-0.2,0.5-0.5,0.7-0.8H20.2L20.2,40z M20,37h8v-1
	h-8V37z M16.1,7.8c-0.1-0.2,0-0.5,0.2-0.7c0.2-0.1,0.5,0,0.7,0.2l1.6,3.2c0.1,0.2,0,0.5-0.2,0.7c-0.2,0.1-0.5,0-0.7-0.2
	C17.7,11,16.1,7.8,16.1,7.8z M30.2,7.4c0.1-0.2,0.4-0.4,0.7-0.2c0.2,0.1,0.4,0.4,0.2,0.7L29.5,11c-0.1,0.2-0.4,0.4-0.7,0.2
	c-0.2-0.1-0.4-0.4-0.2-0.7C28.6,10.6,30.2,7.4,30.2,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.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 5:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" version="1.1" class="darkgreen" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <text class="visually-hidden" font-size="0">Lightbulb moment!</text>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19z M20,39h8v-1h-8
	V39z M20.2,40c0.2,0.3,0.4,0.5,0.7,0.8c0.8,0.8,1.9,1.2,3.2,1.2s2.3-0.5,3.2-1.2c0.3-0.2,0.5-0.5,0.7-0.8H20.2L20.2,40z M20,37h8v-1
	h-8V37z M16.1,7.8c-0.1-0.2,0-0.5,0.2-0.7c0.2-0.1,0.5,0,0.7,0.2l1.6,3.2c0.1,0.2,0,0.5-0.2,0.7c-0.2,0.1-0.5,0-0.7-0.2
	C17.7,11,16.1,7.8,16.1,7.8z M30.2,7.4c0.1-0.2,0.4-0.4,0.7-0.2c0.2,0.1,0.4,0.4,0.2,0.7L29.5,11c-0.1,0.2-0.4,0.4-0.7,0.2
	c-0.2-0.1-0.4-0.4-0.2-0.7C28.6,10.6,30.2,7.4,30.2,7.4z M23.1,6c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5v3.2c0,0.3-0.2,0.5-0.5,0.5
	s-0.5-0.2-0.5-0.5V6z M10.8,11.9c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l2.3,2.4c0.2,0.2,0.2,0.5,0,0.7
	c-0.2,0.2-0.5,0.2-0.7,0C13.1,14.3,10.8,11.9,10.8,11.9z M7.9,17.7c-0.3-0.1-0.4-0.3-0.4-0.6c0.1-0.3,0.3-0.4,0.6-0.4c0,0,0,0,0,0
	l3.1,0.8c0.3,0.1,0.4,0.3,0.4,0.6c-0.1,0.3-0.3,0.4-0.6,0.4c0,0,0,0,0,0C11,18.5,7.9,17.7,7.9,17.7z M39.7,17.7l-3.1,0.8
	c-0.3,0.1-0.5-0.1-0.6-0.4c-0.1-0.3,0.1-0.5,0.3-0.6l3.1-0.8c0.3-0.1,0.5,0.1,0.6,0.4C40.1,17.4,40,17.6,39.7,17.7z M35.7,11.3
	c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7c0,0,0,0,0,0l-2.3,2.4c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 6:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;text&gt;</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" version="1.1" class="purple" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title>Lightbulb moment!</title>
      <text class="visually-hidden" font-size="0">I have a great idea.</text>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19z M20,39h8v-1h-8
	V39z M20.2,40c0.2,0.3,0.4,0.5,0.7,0.8c0.8,0.8,1.9,1.2,3.2,1.2s2.3-0.5,3.2-1.2c0.3-0.2,0.5-0.5,0.7-0.8H20.2L20.2,40z M20,37h8v-1
	h-8V37z M16.1,7.8c-0.1-0.2,0-0.5,0.2-0.7c0.2-0.1,0.5,0,0.7,0.2l1.6,3.2c0.1,0.2,0,0.5-0.2,0.7c-0.2,0.1-0.5,0-0.7-0.2
	C17.7,11,16.1,7.8,16.1,7.8z M30.2,7.4c0.1-0.2,0.4-0.4,0.7-0.2c0.2,0.1,0.4,0.4,0.2,0.7L29.5,11c-0.1,0.2-0.4,0.4-0.7,0.2
	c-0.2-0.1-0.4-0.4-0.2-0.7C28.6,10.6,30.2,7.4,30.2,7.4z M23.1,6c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5v3.2c0,0.3-0.2,0.5-0.5,0.5
	s-0.5-0.2-0.5-0.5V6z M10.8,11.9c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l2.3,2.4c0.2,0.2,0.2,0.5,0,0.7
	c-0.2,0.2-0.5,0.2-0.7,0C13.1,14.3,10.8,11.9,10.8,11.9z M7.9,17.7c-0.3-0.1-0.4-0.3-0.4-0.6c0.1-0.3,0.3-0.4,0.6-0.4c0,0,0,0,0,0
	l3.1,0.8c0.3,0.1,0.4,0.3,0.4,0.6c-0.1,0.3-0.3,0.4-0.6,0.4c0,0,0,0,0,0C11,18.5,7.9,17.7,7.9,17.7z M39.7,17.7l-3.1,0.8
	c-0.3,0.1-0.5-0.1-0.6-0.4c-0.1-0.3,0.1-0.5,0.3-0.6l3.1-0.8c0.3-0.1,0.5,0.1,0.6,0.4C40.1,17.4,40,17.6,39.7,17.7z M35.7,11.3
	c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7c0,0,0,0,0,0l-2.3,2.4c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 7:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>&lt;text&gt;</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" aria-labelledby="lightbulb8" version="1.1" class="ltpink" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title id="lightbulb8">Lightbulb moment!</title>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19z M20,39h8v-1h-8
	V39z M20.2,40c0.2,0.3,0.4,0.5,0.7,0.8c0.8,0.8,1.9,1.2,3.2,1.2s2.3-0.5,3.2-1.2c0.3-0.2,0.5-0.5,0.7-0.8H20.2L20.2,40z M20,37h8v-1
	h-8V37z M16.1,7.8c-0.1-0.2,0-0.5,0.2-0.7c0.2-0.1,0.5,0,0.7,0.2l1.6,3.2c0.1,0.2,0,0.5-0.2,0.7c-0.2,0.1-0.5,0-0.7-0.2
	C17.7,11,16.1,7.8,16.1,7.8z M30.2,7.4c0.1-0.2,0.4-0.4,0.7-0.2c0.2,0.1,0.4,0.4,0.2,0.7L29.5,11c-0.1,0.2-0.4,0.4-0.7,0.2
	c-0.2-0.1-0.4-0.4-0.2-0.7C28.6,10.6,30.2,7.4,30.2,7.4z M23.1,6c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5v3.2c0,0.3-0.2,0.5-0.5,0.5
	s-0.5-0.2-0.5-0.5V6z M10.8,11.9c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l2.3,2.4c0.2,0.2,0.2,0.5,0,0.7
	c-0.2,0.2-0.5,0.2-0.7,0C13.1,14.3,10.8,11.9,10.8,11.9z M7.9,17.7c-0.3-0.1-0.4-0.3-0.4-0.6c0.1-0.3,0.3-0.4,0.6-0.4c0,0,0,0,0,0
	l3.1,0.8c0.3,0.1,0.4,0.3,0.4,0.6c-0.1,0.3-0.3,0.4-0.6,0.4c0,0,0,0,0,0C11,18.5,7.9,17.7,7.9,17.7z M39.7,17.7l-3.1,0.8
	c-0.3,0.1-0.5-0.1-0.6-0.4c-0.1-0.3,0.1-0.5,0.3-0.6l3.1-0.8c0.3-0.1,0.5,0.1,0.6,0.4C40.1,17.4,40,17.6,39.7,17.7z M35.7,11.3
	c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7c0,0,0,0,0,0l-2.3,2.4c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 8:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>aria-labelledby="[ID]"</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" aria-describedby="lightbulb9" version="1.1" class="orange" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title id="lightbulb9">Lightbulb moment!</title>
      <path d="M19,39v-1h-0.5c-0.3,0-0.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1-0.6-0.4c-0.1-0.3,0.1-0.5,0.3-0.6l3.1-0.8c0.3-0.1,0.5,0.1,0.6,0.4C40.1,17.4,40,17.6,39.7,17.7z M35.7,11.3
	c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7c0,0,0,0,0,0l-2.3,2.4c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 9:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>aria-describedby="[ID]"</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" version="1.1" class="ltblue" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title>Lightbulb moment!</title>
      <desc>I have a great idea.</desc>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,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.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7c0,0,0,0,0,0l-2.3,2.4c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 10:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>&lt;desc&gt;</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" aria-labelledby="lightbulb11 description11" version="1.1" class="hotpink" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title id="lightbulb11">Lightbulb moment!</title>
      <desc id="description11">I have a great idea.</desc>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s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0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7c0,0,0,0,0,0
	L35.7,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 11:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>&lt;desc&gt;</code> + <code>aria-labelledby="[ID]"</code></h3>
  </div>
  <div class="grid-item">
    <svg role="img" aria-describedby="lightbulb12 description12" version="1.1" class="ltgray" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
      <title id="lightbulb12">Lightbulb moment!</title>
      <desc id="description12">I have a great idea.</desc>
      <path d="M19,39v-1h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19v-2h10v2h0.5c0.3,0,0.5,0.2,0.5,0.5S29.8,38,29.5,38H29v1h0.5
	c0.3,0,0.5,0.2,0.5,0.5S29.8,40,29.5,40H29c0,0-1.4,3-5,3s-5-3-5-3h-0.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H19z M20,39h8v-1h-8
	V39z M20.2,40c0.2,0.3,0.4,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,11.3z M18.8,34c0-5.5-4.8-5.5-4.8-12.6c0-5,4.5-9.4,10-9.4s10,4.4,10,9.4c0,7.1-4.8,7.1-4.8,12.6H18.8z M28.2,33
	c0.2-1.8,0.8-3,2.1-4.7l0.4-0.6c1.6-2.1,2.2-3.5,2.2-6.3c0-4.5-4.1-8.4-9-8.4s-9,3.9-9,8.4c0,2.7,0.6,4.2,2.2,6.3l0.4,0.6
	c1.3,1.7,1.9,3,2.1,4.7C19.8,33,28.2,33,28.2,33z M21.4,15.9c0.3-0.1,0.5,0.1,0.6,0.3c0.1,0.2,0,0.5-0.3,0.6c-1.8,0.7-3.2,2.2-3.9,4
	c-0.1,0.3-0.4,0.4-0.6,0.3c-0.2-0.1-0.4-0.4-0.3-0.6C17.6,18.4,19.3,16.7,21.4,15.9z" />
    </svg>
    <h3>Pattern 12:<br><code>&lt;svg&gt;</code> + <code>role="img"</code> + <code>&lt;title&gt;</code> + <code>&lt;desc&gt;</code> + <code>aria-describedby="[ID]"</code></h3>
  </div>
</div>
</div>
<p>Image source: <a href="https://commons.wikimedia.org/wiki/File:BulbIcon.svg" target="_blank">Wikimedia Commons</a></p>
</div>
<hr><br>
<h2>Testing Results</h2>
<h3>Table key</h3>
<ul>
  <li>Green = no restrictions</li>
  <li>Yellow = use with caution</li>
  <li>Red = not recommended</li>
</ul>
<table id="results">
  <colgroup>
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
    <col />
  </colgroup>
  <thead>
    <tr>
      <th scope="col">Testing Parameters</th>
      <th scope="col">Pattern 1</th>
      <th scope="col">Pattern 2</th>
      <th scope="col">Pattern 3</th>
      <th scope="col">Pattern 4</th>
      <th scope="col">Pattern 5</th>
      <th scope="col">Pattern 6</th>
      <th scope="col">Pattern 7</th>
      <th scope="col">Pattern 8</th>
      <th scope="col">Pattern 9</th>
      <th scope="col">Pattern 10</th>
      <th scope="col">Pattern 11</th>
      <th scope="col">Pattern 12</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row" class="odd-row">
        <h4>Desktop: <br>macOS + Safari + VoiceOver</h4><br><em>(macOS v10 + Safari v14)</em>
      </th>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>image detected, but missing an alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="even-row">
        <h4>Desktop: <br>macOS + Chrome + VoiceOver</h4><br><em>(macOS v10 + Chrome v90)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        To get missing image descriptions, open the context menu<br><br><em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="odd-row">
        <h4>Desktop: <br>macOS + Firefox + VoiceOver</h4><br><em>(macOS v10 + Firefox v88)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="even-row">
        <h4>Desktop: <br>macOS + Edge + VoiceOver</h4><br><em>(macOS v10 + Edge v90)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="odd-row">
        <h4>Desktop: <br>Windows + Chrome + NVDA</h4><br><em>(Windows 10 + Chrome v71 + NVDA v2019)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        To get missing image descriptions, open the context menu.<br><br><em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment! I have a great idea.<br><br><em>repeated alt description</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="even-row">
        <h4>Desktop: <br>Windows + Firefox + NVDA</h4><br><em>(Windows 10 + Firefox v63 + NVDA v2019)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment! I have a great idea. I have a great idea.<br><br><em>repeated alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment! I have a great idea.<br><br><em>repeated alt description</em>
      </td>
    </tr>
     <tr>
      <th scope="row" class="odd-row">
        <h4>Desktop: <br>Windows + Edge + NVDA</h4><br><em>(Windows 10 + Edge v90 + NVDA v2019)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment! I have a great idea.<br><br><em>repeated alt description</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="even-row">
        <h4>Mobile: <br>iOS + Safari + VoiceOver</h4><br><em>(iOS v14 + Safari v14 + VoiceOver on an iPhone XR)</em>
      </th>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment! I have a great idea. I have a great idea.<br><br><em>repeated alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment! I have a great idea.<br><br><em>repeated alt description</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="odd-row">
        <h4>
          <h4>Mobile: <br>iOS + Chrome + VoiceOver</h4><br><em>(iOS v14 + Chrome v87 + VoiceOver on an iPhone XR)</em>
      </th>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>image detected, but missing alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment! I have a great idea. I have a great idea.<br><br><em>repeated alt description</em>
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment! I have a great idea.<br><br><em>repeated alt description</em>
      </td>
    </tr>
    <tr>
      <th scope="row" class="even-row">
        <h4>Mobile: <br>Android + Chrome + Talkback</h4><br><em>(Android v12 + Chrome v90 + TalkBack v9 on a Samsung Galaxy S9)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="stop">
        <em>Not focusable</em>
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;text&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment! Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="go">
        Lightbulb moment! Lightbulb moment! I have a great idea.
      </td>
    </tr>
    <tr>
      <th scope="row" class="odd-row">
        <h4>Mobile: <br>Android + Firefox + Talkback</h4><br><em>(Android v12 + Firefox v88 + TalkBack v9 on a Samsung Galaxy S9)</em>
      </th>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment! Lightbulb moment!<br><br><em>repeated alt description</em>
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="go">
        Lightbulb moment!
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
      <td class="go">
        Lightbulb moment! I have a great idea.
      </td>
      <td class="caution">
        Lightbulb moment!<br><br><em>&lt;desc&gt; ignored</em>
      </td>
    </tr>
  </tbody>
</table>
              
            
!

CSS

              
                body {
  font-family: "Open Sans", sans-serif;
  margin: 2rem;
}

h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  color: red;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 90%;
  margin: 0 auto;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  text-align: center;
}

code {
  background-color: #444444;
  color: #ffffff;
  border-radius: 0.3rem;
  padding: 4px 5px 5px;
  white-space: nowrap;
  line-height: 2;
}

p {
  clear: both;
}

table {
  border-collapse: collapse;
  margin: 1rem;
}

col {
  border: 1px solid #444444;
}

tr {
  border-bottom: 1px solid #444444;
}

thead th {
  padding: 1rem;
  background-color: #444444;
  border-right: 1px solid #ffffff;
  color: #ffffff;
}

thead th:last-child {
  border-right: none;
}

td,
tbody th {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.odd-row {
  background: #c1c1c1;
}

.even-row {
  background: #eeeeee;
}

.go {
  background: #008000;
  color: #ffffff;
}

.caution {
  background: #f6d100;
}

.stop {
  background: #d40000;
  color: #ffffff;
}

/* Lightbulb colors */
.lightbulb {
  width: 100%;
}

.darkblue {
  fill: darkblue;
}

.darkgreen {
  fill: darkgreen;
}

.purple {
  fill: purple;
}

.ltpink {
  fill: pink;
}

.orange {
  fill: orange;
}

.ltblue {
  fill: lightblue;
}

.hotpink {
  fill: hotpink;
}

.ltgray {
  fill: gray;
}

              
            
!

JS

              
                
              
            
!
999px

Console