Skip to content

Commit c827a34

Browse files
committed
Updated index and bumped the version
1 parent 73fcb77 commit c827a34

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

docs/index.html

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h2 id="title__table-of-contents">Table of Contents</h2>
4141
<li><a href="#subsection__links">Links</a></li>
4242
<li><a href="#subsection__code">Code</a></li>
4343
<li><a href="#subsection__symbols">Symbols</a></li>
44+
<li><a href="#subsection__emoji">Emoji</a></li>
4445
</ul>
4546
</li>
4647
<li><a href="#section__tables">Tables</a></li>
@@ -262,23 +263,36 @@ <h3 id="subtitle__code">Code</h3>
262263
<div id="subsection__symbols" role="region" aria-labelledby="subtitle__symbols"><!-- Start of #subsection__symbols -->
263264
<h3 id="subtitle__symbols">Symbols</h3>
264265
<ul>
265-
<li><span aria-label="Plus">+</span></li>
266-
<li><span aria-label="Minus"></span></li>
267-
<li><span aria-label="Plus or minus">±</span></li>
268-
<li><span aria-label="Divided by">÷</span></li>
269-
<li><span aria-label="Multiplied by">×</span></li>
270-
<li><span aria-label="Less than">&lt;</span></li>
271-
<li><span aria-label="Less than or equal to"></span></li>
272-
<li><span aria-label="Greater than">&gt;</span></li>
273-
<li><span aria-label="Greater than or equal to"></span></li>
274-
<li><span aria-label="Equals">=</span></li>
275-
<li><span aria-label="Approximately equals"></span></li>
276-
<li><span aria-label="Not equals"></span></li>
266+
<li><span role="definition" aria-label="Plus">+</span></li>
267+
<li><span role="definition" aria-label="Minus"></span></li>
268+
<li><span role="definition" aria-label="Plus or minus">±</span></li>
269+
<li><span role="definition" aria-label="Divided by">÷</span></li>
270+
<li><span role="definition" aria-label="Multiplied by">×</span></li>
271+
<li><span role="definition" aria-label="Less than">&lt;</span></li>
272+
<li><span role="definition" aria-label="Less than or equal to"></span></li>
273+
<li><span role="definition" aria-label="Greater than">&gt;</span></li>
274+
<li><span role="definition" aria-label="Greater than or equal to"></span></li>
275+
<li><span role="definition" aria-label="Equals">=</span></li>
276+
<li><span role="definition" aria-label="Approximately equals"></span></li>
277+
<li><span role="definition" aria-label="Not equals"></span></li>
277278
</ul>
278279
<p>
279-
<small>Note: Certain screen readers will not <a rel="external noopener" href="http://www.deque.com/blog/dont-screen-readers-read-whats-screen-part-1-punctuation-typographic-symbols/">read certain symbols out loud</a>. Use <code>aria-label</code> to ensure the symbol is read.</small>
280+
<small>Note: Certain screen readers will not <a rel="external noopener" href="http://www.deque.com/blog/dont-screen-readers-read-whats-screen-part-1-punctuation-typographic-symbols/">read certain symbols out loud</a>. Use <code>role="definition"</code> in conjunction with <code>aria-label</code> to ensure the symbol is read.</small>
280281
</p>
281282
</div><!-- End of #subsection__symbols -->
283+
<div id="subsection__emoji" role="region" aria-labelledby="subtitle__emoji"><!-- Start of #subsection__emoji -->
284+
<h3 id="subtitle__emoji">Emoji</h3>
285+
<ul>
286+
<li><span role="img" aria-label="Peach emoji">🍑</span></li>
287+
<li><span role="img" aria-label="Smiling cat face emoji">😺</span></li>
288+
<li><span role="img" aria-label="Tophat emoji">🎩</span></li>
289+
<li><span role="img" aria-label="Snowman emoji">⛄️</span></li>
290+
<li><span role="img" aria-label="Beer emoji">🍺</span></li>
291+
</ul>
292+
<p>
293+
<small>Note: Certain screen readers will not <a rel="external noopener" href="http://tink.uk/accessible-emoji/">expose emoji as images in the accessibility treee</a>. Use <code>role="img"</code> in conjunction with <code>aria-label</code> to ensure the symbol is read.</small>
294+
</p>
295+
</div><!-- End of #subsection__emoji -->
282296
</section><!-- End of #section__text-level -->
283297

284298
<hr />

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "accessible-html-content-patterns",
33
"description": "A collection of the full HTML5 Doctor Element Index as well as common markup patterns for quick reference.",
44
"homepage": "https://github.com/ericwbailey/accessible-html-content-patterns",
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"license": "MIT",
77
"author": "Eric Bailey <[email protected]> (http://ericwbailey.com/)",
88
"contributors": "Scott Doxey <[email protected]> (https://www.scottdoxey.com/)",

0 commit comments

Comments
 (0)