Skip to content

Commit ed4884b

Browse files
committed
Remove aria-label for symbols and emoji
1 parent 51bb5fb commit ed4884b

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

partials/section.embedded.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<small>Be sure to provide values for the <code translate="no">height</code> and <code translate="no">width</code> attributes so <abbr>SVGs</abbr> won't expand to fill the page if styles don't load.</small>
5454
</li>
5555
<li>
56-
<small>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>
56+
<a>Different implementations of <abbr>SVG</abbr> have different approaches for being made accessible. Reference these articles by <a rel="external noopener" href="https://css-tricks.com/accessible-svgs/"></a>Heather Migliorisi</a> and <a rel="external noopener" href="https://www.deque.com/blog/creating-accessible-svgs/">Carie Fisher</a>.</small>
5757
</li>
5858
<li>
5959
<small>Add whitespace around the <code translate="no">use</code> element in a <abbr>SVG</abbr> icon system to <a rel="external noopener" href="http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-5">prevent a focus bug with Safari 10</a>.</small>

partials/section.text-level.hbs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -179,23 +179,23 @@ drwxr-xr-x 9 eric staff 306 Mar 24 13:36 .git/
179179
<div id="subsection-symbols" aria-labelledby="subtitle-symbols">
180180
<h3 id="subtitle-symbols">Symbols</h3>
181181
<ul>
182-
<li><span role="definition" aria-label="Plus">+</span></li>
183-
<li><span role="definition" aria-label="Minus">−</span></li>
184-
<li><span role="definition" aria-label="Plus or minus">±</span></li>
185-
<li><span role="definition" aria-label="Divided by">÷</span></li>
186-
<li><span role="definition" aria-label="Multiplied by">×</span></li>
187-
<li><span role="definition" aria-label="Less than">&lt;</span></li>
188-
<li><span role="definition" aria-label="Less than or equal to">≤</span></li>
189-
<li><span role="definition" aria-label="Greater than">&gt;</span></li>
190-
<li><span role="definition" aria-label="Greater than or equal to">≥</span></li>
191-
<li><span role="definition" aria-label="Equals">=</span></li>
192-
<li><span role="definition" aria-label="Approximately equals">≈</span></li>
193-
<li><span role="definition" aria-label="Not equals">≠</span></li>
182+
<li>+</li>
183+
<li></li>
184+
<li>±</li>
185+
<li>÷</li>
186+
<li>×</li>
187+
<li>&lt;</li>
188+
<li></li>
189+
<li>&gt;</li>
190+
<li></li>
191+
<li>=</li>
192+
<li></li>
193+
<li></li>
194194
</ul>
195195

196196
<h4 id="notes-symbols">Notes:</h4>
197197
<p>
198-
<small>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 translate="no">role="definition"</code> in conjunction with <code translate="no">aria-label</code> to ensure the symbol is read.</small>
198+
<small>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 translate="no">role="definition"</code> in conjunction with <code translate="no">aria-label</code> to ensure the symbol is read. Use this techique with caution and discretion, as it will affect how the symbol is rendered by things like Braille readers.</small>
199199
</p>
200200
</div>
201201
<!-- End of #subsection-symbols -->
@@ -204,16 +204,16 @@ drwxr-xr-x 9 eric staff 306 Mar 24 13:36 .git/
204204
<div id="subsection-emoji" aria-labelledby="subtitle-emoji">
205205
<h3 id="subtitle-emoji">Emoji</h3>
206206
<ul>
207-
<li><span role="img" aria-label="Peach emoji">🍑</span></li>
208-
<li><span role="img" aria-label="Smiling cat face emoji">😺</span></li>
209-
<li><span role="img" aria-label="Tophat emoji">🎩</span></li>
210-
<li><span role="img" aria-label="Snowman emoji">⛄️</span></li>
211-
<li><span role="img" aria-label="Beer emoji">🍺</span></li>
207+
<li>🍑</li>
208+
<li>😺</li>
209+
<li>🎩</li>
210+
<li>⛄️</li>
211+
<li>🍺</li>
212212
</ul>
213213

214214
<h4 id="notes-emoji">Notes:</h4>
215215
<p>
216-
<small>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 translate="no">role="img"</code> in conjunction with <code translate="no">aria-label</code> to ensure the symbol is read.</small>
216+
<small>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 translate="no">role="definition"</code> in conjunction with <code translate="no">aria-label</code> to ensure the symbol is read. Use this techique with caution and discretion, as it will affect how the symbol is rendered by things like Braille readers.</small>
217217
</p>
218218
</div>
219219
<!-- End of #subsection-emoji -->

0 commit comments

Comments
 (0)