FreedomScientific / standards-support

Contains documentation for Vispero software support of Web standards
https://freedomscientific.github.io/standards-support/
GNU General Public License v3.0
105 stars 11 forks source link

The dynamic text changes are announced multiple times or not announced at all in the Button with JAWS #805

Open havvamehfooz opened 5 months ago

havvamehfooz commented 5 months ago

Summary

The dynamic text changes are announced multiple times in the button with JAWS

The reason behind that is a workaround we’ve done for JAWS with which we overcompensate the missing announcements leading to redundant announcements.

The real issue is that the dynamic text changes (label changes) for a button aren’t always announced by JWAS as observed via the following snippet and native HTML:

The same behavior isn’t reproducible with NVDA or VoiceOver on mac. The dynamic text changes are always announced there.

Example:

https://jsfiddle.net/6f2pqhLr/

Workflow:

Steps to reproduce: 1) Start JAWS 2) Press the button -> text change gets announced 3) Press the button again -> text change doesn’t get announced

JAWS-test commented 5 months ago

It should be added:

  1. Press the button -> text change gets announced
  2. Press the button again -> text change doesn’t get announced
  3. Press the button -> text change gets announced
  4. Press the button again -> text change doesn’t get announced ...

This means that the original value is not output again, but the new value, also when the display is repeated.

JAWS-test commented 5 months ago

without aria-labelledby there is no output of the update by JAWS and NVDA at all