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

aria-valuetext not working in IE #6561

Closed
michelhebert opened this issue Nov 14, 2016 · 8 comments
Closed

aria-valuetext not working in IE #6561

michelhebert opened this issue Nov 14, 2016 · 8 comments
Labels
Abandoned requested reports or updates are missing since more than 1 year, author or users are not available. app/internet-explorer ARIA p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

Comments

@michelhebert
Copy link

michelhebert commented Nov 14, 2016

After finding a similar defect at #913, I am opening this defect per @jcsteh 's request. Please note this issue presists in NVDA version 2016.3

Given an HTML5 widget with role="slider", if both aria-valuenow and aria-valuetext are present, screen readers should announce aria-valuetext instead of aria-valuenow, as it's the human-readable text alternative of aria-valuenow:

http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext

NVDA 2016.3 does this currently in Firefox, but ''not'' in IE (tested in IE11). Instead, it reads aria-valuenow. IE is apparently exposing aria-valuetext, because JAWS 15 and Window-Eyes 8.4 announce it correctly in IE11.

Here are a couple of basic test pages that were created:

http://terrillthompson.com/tests/slider2.html

@jcsteh
Copy link
Contributor

jcsteh commented Nov 14, 2016

From #913 (comment):

It doesn't expose it via MSAA. It seems it does via UIA, but for various reasons, we can't use that in IE. Therefore, we'll just need to do more DOM parsing (which is almost certainly how other screen readers do it).

What a surprise: IE's a11y implementation is broken in yet another way. :) Anyway... the thing that worries me about this test case is that for some reason, calling node.getAttribute("aria-valuetext") returns null. I don't know why. So, DOM parsing might not be an option.

@feerrenrut feerrenrut added the p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority label Nov 16, 2016
@feerrenrut
Copy link
Contributor

This sounds like something that would be good to fix, my guess is that the impact is fairly low. Where are people likely to run into this kind of issue?

Setting this as priority 3 for now.

@michelhebert
Copy link
Author

michelhebert commented Nov 16, 2016

This property is used, for example, on a range widget such as a slider or progress bar.

Instead of the screen-reader just reading the aria-valuenow value (which only accepts a decimal), aria-valuetext allows web developers to pass a more human readable text alternative.

In my case, I ran into the issue where the slider uses dates. When it moves, it would spit out "20161108" instead of "November 8, 2016". With aria-valuetext, I can pass human readable text.

Any scenario with sliders/progress bar/spinners would benefit from using aria-valuetext so the user knows the unit value as they interact with it, instead of just a decimal, which can be limited in many situations.

examples:
Sliders : https://www.w3.org/TR/wai-aria-practices-1.1/examples/slider/slider-2.html
Spinners (example does not use aria-valuetext, but the point is the usage): http://oaa-accessibility.org/example/33/
progress bar (example does not use aria-valuetext, but the point is the usage): http://oaa-accessibility.org/example/27/

@LaurentGoderre
Copy link

We use Unix timestamps for a date slider and then use the aria-valuetext to convert it to a textual representation of the date so this is an issue for us.

@Adriani90
Copy link
Collaborator

cc: @michaelDCurran

@Adriani90
Copy link
Collaborator

cc: @seanbudd

@zstanecic
Copy link
Contributor

zstanecic commented Aug 12, 2021 via email

@Adriani90 Adriani90 added the Abandoned requested reports or updates are missing since more than 1 year, author or users are not available. label Apr 3, 2023
@Adriani90
Copy link
Collaborator

Support for IE ended completely in 2022 and the browser is automatically removed from machines that still have it after an Edge update in February 2023. Closing this as abandoned since I don't expect any further accessibility updates to IE or to IE mode in Microsoft Edge.

@Adriani90 Adriani90 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Abandoned requested reports or updates are missing since more than 1 year, author or users are not available. app/internet-explorer ARIA p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

No branches or pull requests

7 participants