fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Accessibility] Slider: Doesn't Announce Current Value

Open HalcyonPride opened this issue 7 years ago • 3 comments

Environment Information

  • Package version(s): Latest
  • Browser and OS versions: Edge; Windows 10 Enterprise, version 1809

Please provide a reproduction of the bug in a codepen:

https://developer.microsoft.com/en-us/fabric#/components/slider

Actual behavior:

Narrator doesn't announce the current value as you move the slider.

Expected behavior:

Narrator should announce the current value.

Priorities and help requested:

Are you willing to submit a PR to fix? No

Requested priority: High

Products/sites affected: ODB

HalcyonPride avatar Feb 14 '19 01:02 HalcyonPride

The same behavior also occurs with an ARIA slider example indicating that this is an issue with either Microsoft Edge or Narrator. I've also tested with NVDA, which announces the Slider value in Chrome, but not in Microsoft Edge. As a result, I suspect this is an issue with Microsoft Edge.

I'm working to create an issue with the Microsoft Edge team now.

JasonGore avatar Feb 14 '19 02:02 JasonGore

Further investigation shows that this ARIA slider example works correctly. The primary difference appears to be the presence of the aria-valuetext value. when this value is missing, MS Edge/Narrator do not appear to fall back to aria-valuenow attribute for narration.

aria-valuetext is not specifically required by ARIA standards for narration, so this is still considered an issue with MS Edge & Narrator. Consumers of Slider can use the ariaValueText prop as a temporary workaround.

JasonGore avatar Feb 14 '19 17:02 JasonGore

@JasonGore, I concur with your assessment. Since you're gonna open an issue with Edge, I'll close this Bug.

HalcyonPride avatar Feb 14 '19 19:02 HalcyonPride