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

Re: Negative numbers

From: Corey Collins <ccollins@usc.edu.au>
Date: Tue, 3 Oct 2017 03:37:03 +0000
To: W3C WAI ig <w3c-wai-ig@w3.org>
CC: Joseph Yang <joesaiyang@gmail.com>
Message-ID: <87E6AEEC-1160-40CB-80CF-5181A0DA2CE6@usc.edu.au>
&minus; works for VoiceOver, NVDA and JAWS, no settings have been adjusted so should be default.

VoiceOver and NVDA both ignored hyphen, en dash and em dash. JAWS read all variations including minus, pretty sure I don’t have any punctuation feedback on as it ignored the colons.

<p>Minus symbol:</p>
<p>&minus;10</p>
<p>Hyphen symbol:</p>
<p>-dog</p>
<p>En dash symbol:</p>
<p>&ndash;dog</p>
<p>Em dash symbol:</p>
<p>&mdash;dog</p>

Corey Collins
Web Accessibility Specialist
Ph +61 7 5456 5383

University of the Sunshine Coast
CRICOS Provider No. 01595D

From: Adam Powell <adam@adaminfinitum.com>
Date: Tuesday, 3 October 2017 at 12:40 pm
To: W3C WAI ig <w3c-wai-ig@w3.org>
Subject: Re: Negative numbers
Resent-From: <w3c-wai-ig@w3.org>
Resent-Date: Tuesday, 3 October 2017 at 12:40 pm

Hi All,
The last message from Mr Loots got me thinking a bit and I wonder if it is a minus ( Unicode U-2212 )?

I have no idea how an assistive device would handle it but let me insert some here for testing:

−1  ( minus sign, unicode U+2212 )
-2   ( hypen-minus, unicode U+002D, this is the default from a normal keypress for me )
–3  ( en dash, unicode U+2013 )
‑4   ( non-breaking hyphen, unicode U+2011 )

Do any of those read correctly (hopefully the first one)?

If not, maybe alt text or title attributes on an `abbr` or `span` wrapper around the character.

Hope that helps!

Adam Powell
http://www.adaminfinitum.com<http://www.adaminfinitum.com>


On Mon, Oct 2, 2017 at 2:40 AM, Harry Loots <harry.loots@ieee.org<mailto:harry.loots@ieee.org>> wrote:
Is there anything in CSS or an attribute in HTML that could be  used to force the reading out of the (-) characters?
Kind regards
Harry


On 30 September 2017 at 02:20, Russ Weakley <russ@maxdesign.com.au<mailto:russ@maxdesign.com.au>> wrote:
Hi Jospeh,

If negative numbers are a concern just for you, then you can change your verbosity settings and set punctuation to "all"

https://support.apple.com/en-au/guide/voiceover/hear-punctuation-mchlp2703<https://support.apple.com/en-au/guide/voiceover/hear-punctuation-mchlp2703>

Keep in mind, this will then read out a lot more information such as colons, full-stops etc, and you may find this becomes painful.

If this is for an application for other users and you are worried about the following:

- there are a fair amount of VoiceOver users who may be using the app
- you are concerned that not all VoiceOver users will have their verbosity punctuation set to "all"
- there are negative numbers that are important for these users to understand

In circumstances like this, you may wish to use a work around (or hack). 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/<https://jsfiddle.net/russmaxdesign/fhs8m6z1/>

HTH
Russ


Quoting Joseph Yang <joesaiyang@gmail.com<mailto:joesaiyang@gmail.com>>:
I'm having an issue with Voiceover not reading negative numbers. Apparently
it is not reading the minus sign. Has anyone been able to find a work
around for this? I've read that using parentheses was an option, but
because I work in banking, I'm not sure if that will be a viable option for
the stakeholders.


Thanks
Russ

--------------------------------------------------
Russ Weakley
Mobile: 0403 433 980
Skype: russ-maxdesign
Email: russ@maxdesign.com.au<mailto:russ@maxdesign.com.au>
Github: https://github.com/russmaxdesign<https://github.com/russmaxdesign>
Twitter: http://twitter.com/russmaxdesign<http://twitter.com/russmaxdesign>
--------------------------------------------------




USC, Locked Bag 4, Maroochydore DC, Queensland, 4558 Australia.
CRICOS Provider No: 01595D
Please consider the environment before printing this email.
This email is confidential. If received in error, please delete it from your system.
Received on Tuesday, 3 October 2017 03:37:37 UTC

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