standards-support icon indicating copy to clipboard operation
standards-support copied to clipboard

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

Open havvamehfooz opened this issue 2 years ago • 2 comments

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

havvamehfooz avatar Jan 23 '24 16:01 havvamehfooz

It should be added: 4. Press the button -> text change gets announced 5. Press the button again -> text change doesn’t get announced 6. Press the button -> text change gets announced 7. 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 avatar Jan 23 '24 16:01 JAWS-test

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

JAWS-test avatar Jan 23 '24 16:01 JAWS-test