Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAWS reads rounding error on min value of range input #112

Open
jessegreenberg opened this issue Sep 8, 2018 · 3 comments
Open

JAWS reads rounding error on min value of range input #112

jessegreenberg opened this issue Sep 8, 2018 · 3 comments

Comments

@jessegreenberg
Copy link

Summary

Certain combinations of min and max attributes on <input type="range"> will cause JAWS to read extra decimals when reporting the min attribute while reading through the content with the virtual cursor. For example:

  1. Go to https://jsfiddle.net/au7rhbg8/31/
  2. Read through the content with virtual cursor, when JAWS reaches the slider it will say

"Value Slider, 0.6, min 0.100...001, max 1"

Expected result

I would expect JAWS to report the min value as "0.1".

Actual result

JAWS actually reads a wrong value with incorrect precision, like "0.100...001"

Example

See the above JSFiddle for an example.

JAWS version and build number

JAWS 2018.

Operating System and version

Windows 10.

Browser and version:

Firefox 62.0, reproduced in other versions as well.

@stevefaulkner
Copy link
Contributor

created codepen test case https://codepen.io/stevef/pen/pOpoxj

@stevefaulkner stevefaulkner self-assigned this Sep 8, 2018
@stevefaulkner
Copy link
Contributor

stevefaulkner commented Sep 8, 2018

created codepen test case https://codepen.io/stevef/pen/pOpoxj

I can reproduce JAWS version 2018.1808.10 ILM
Firefox 63.0b3 (64-bit)
chrome Version 69.0.3497.81 (Official Build) (64-bit)

@stevefaulkner
Copy link
Contributor

stevefaulkner commented Aug 9, 2023

created codepen test case https://codepen.io/stevef/pen/pOpoxj

I can reproduce JAWS version 2023.2307.37
chrome Version 115.0.5790.171 (Official Build) (64-bit)

note: this occurs in virtual cursor when announcing the 'min value' JAWS announces a long string of numbers

example from speech history for the test case:

Value Slider left right slider
0.6
min 0.10000000149011612 max 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants