W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2017

Re: Negative numbers

From: Elizabeth Pyatt <ejp10@psu.edu>
Date: Wed, 4 Oct 2017 09:03:25 -0400
Cc: w3c-wai-ig@w3.org
Message-Id: <B6350AC5-8B67-4161-9D77-C563E762943C@psu.edu>
To: Bart Simons <bart.simons@anysurfer.be>
FYI - If the code below doesn’t work, you can always add the role=“img” attribute which converts the aria-label attribute to essentially an ALT text attribute.
See http://sites.psu.edu/gotunicode/2014/11/18/aria-for-screen-readers-not-able-to-read-symbols/

Hope this helps.

Best
Elizabeth


> On Oct 4, 2017, at 8:42 AM, Bart Simons <bart.simons@anysurfer.be> wrote:
> 
> Op 30/09/2017 2:20, Russ Weakley schreef:
>> > A simple solution is to use an aria-label:
>> > <span aria-label="minus 91">-91</span>
>> > You can see this in action here:
>> > https://jsfiddle.net/russmaxdesign/fhs8m6z1/
>> 
> If I understand correctly, aria-label only works on components in the accessibility tre that have an explicit or implicit role. If that is correct, it makes no sense to add aria-label to a span.
> 
> Regards
> Bart Simons
> 

=-=-=-=-=-=-=-=-=-=-=-=-=
Elizabeth J. Pyatt, Ph.D.
Accessibility IT Consultant
Teaching and Learning with Technology
Penn State University
ejp10@psu.edu, (814) 865-0805 or (814) 865-2030 (Main Office)

The 300 Building
304 West College Avenue
University Park, PA 16801
http://accessibility.psu.edu
Received on Wednesday, 4 October 2017 13:03:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 December 2017 16:04:47 UTC