WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessibility of + and -

for

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


I think I just found the answer to my question on a Penn State site (http://archive.tlt.psu.edu/suggestions/international/web/tips/unicodefourdigit.html). I'll post it here in case it is helpful to others are new to Unicode like me, or in case experienced folks want to correct what I've posted.

It sounds like there are decimal and hexadecimal codes. The hex codes use the format &#x<hex-number>; and decimal codes use the format &#<dec-number>; when coding HTML

The Em Dash uses the decimal of 8212 but the hex of 2014 (http://unicodelookup.com/#em dash/1). That's why the same number was resulting in different results in the HTML code. I was identifying the first as "decimal" and the second as "hexadecimal" by adding the x.

What is my Word 2016 using? It appears to be the Unicode Hexadecimal:
When I type 8212 into Word and then press Alt-X, I get the Han symbol
When I type 2014 into Word and press Alt-X I get the em dash

Best,
Vanessa