Skip to content

Commit 56ec07f

Browse files
committed
Added note about SVG in a focusable element
1 parent b4fa12b commit 56ec07f

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

partials/section.embedded.hbs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,20 @@
3737
<figcaption>
3838
<a rel="external noopener" href="https://thenounproject.com/search/?q=crab&i=583446">Crab by Hea Poh Lin</a> from the Noun Project
3939
</figcaption>
40-
41-
<ul>
42-
<li>
43-
<small>Note: Be sure to provide values for the <code>height</code> and <code>width</code> attributes so <abbr>SVGs</abbr> won't expand to fill the page if styles don't load.</small>
44-
</li>
45-
<li>
46-
<small>Note: Different implementations of <abbr>SVG</abbr> have <a rel="external noopener" href="https://css-tricks.com/accessible-svgs/">different approaches for being made accessible</a>.</small>
47-
</li>
48-
</ul>
49-
5040
</figure><!-- End of #subsection__inline-svg -->
5141

42+
<ul>
43+
<li>
44+
<small>Note: Be sure to provide values for the <code>height</code> and <code>width</code> attributes so <abbr>SVGs</abbr> won't expand to fill the page if styles don't load.</small>
45+
</li>
46+
<li>
47+
<small>Note: Different implementations of <abbr>SVG</abbr> have <a rel="external noopener" href="https://css-tricks.com/accessible-svgs/">different approaches for being made accessible</a>.</small>
48+
</li>
49+
<li>
50+
<small>Note: Apply <code>focusable=”false”</code> to any <abbr>SVG</abbr> placed inside of <a rel="external noopener" href="http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-5">a focusable element such as a link or button</a>.</small>
51+
</li>
52+
</ul>
53+
5254
<h2 id="subsection__picture">Picture</h2><!-- Start of #subsection__picture -->
5355
<picture>
5456
<source

0 commit comments

Comments
 (0)