WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessibility of + and -

for

From: Preast, Vanessa
Date: Dec 8, 2016 8:04AM


Question:
When the "x" is needed and when not? The first item below is the Em Dash and the second is a Han character.
<p>&#8212;</p>
<p>&#x8212;</p>

However, to make the ampersand work, I must use the "x":
<p>ASCII: &amp;</p>
<p>UNICODE: &#x0026;</p>

-----
Suggestion:
Paul, not sure if it helps, but I thought I'd share my approach. For small amounts of code, I might use free visual editors such as W3schools "try it yourself" tool (http://www.w3schools.com/charsets/tryit.asp?filename=tryutf_quote), CodePen (http://codepen.io/TeachLearn/pen/WoyXjx), or an online HTML editor (https://html-online.com/editor/) or the and then I copy and paste the information into my application.

The w3schools has a nice list with symbols (http://www.w3schools.com/charsets/ref_utf_basic_latin.asp) and the "try it" right next to it, so it is easy to copy and paste. There are also the Unicode charts at http://unicode.org/charts/.

Best,
Vanessa