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

Re: Negative numbers

From: Harry Loots <harry.loots@ieee.org>
Date: Tue, 3 Oct 2017 11:19:10 +0200
Message-ID: <CA++-QFdtGyf8GQqbOj1bKG+q2FfndQJKLFWqqsafJXe3fBfW-w@mail.gmail.com>
To: W3C WAI ig <w3c-wai-ig@w3.org>
Jonathan Cohn sent me the following:

On 2 October 2017 at 15:56, Cohn, Jonathan <jcohn@air.org> wrote:

> I believe this is a current summary of the speech / oral modules in CSS.
>
>
>
> https://css-tricks.com/lets-talk-speech-css/
>

One of the features of the CSS is the speak-as property (
https://www.w3.org/TR/css3-speech/#speaking-props-speak-as) which provides
the following values:
normal | spell-out || digits || [ literal-punctuation | no-punctuation ]

Unfortunately I am not able to run any tests at present, but will try and
build a simple HTML page using the property:value pairs so that perhaps
others can.

Kindest regards
Harry

On 3 October 2017 at 05:37, Corey Collins <ccollins@usc.edu.au> wrote:

> − 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>−10</p>
>
> <p>Hyphen symbol:</p>
>
> <p>-dog</p>
>
> <p>En dash symbol:</p>
>
> <p>–dog</p>
>
> <p>Em dash symbol:</p>
>
> <p>—dog</p>
>
>
>
> *Corey Collins*
> Web Accessibility Specialist
>
> Ph +61 7 5456 5383 <+61%207%205456%205383>
>
> 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
>
>
>
>
>
> On Mon, Oct 2, 2017 at 2:40 AM, Harry Loots <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> 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
>
> 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/
>
> HTH
> Russ
>
>
>
> Quoting Joseph Yang <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
> Github: https://github.com/russmaxdesign
> Twitter: http://twitter.com/russmaxdesign
> --------------------------------------------------
>
>
>
>
>
>
> USC, Locked Bag 4, Maroochydore
> <https://maps.google.com/?q=4,+Maroochydore&entry=gmail&source=g> 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 09:19:37 UTC

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