JAWS announces entire contents of dialog the first time a button is focused
Steps to reproduce:
- Go to https://jsfiddle.net/jreid01/0zcjfoyw/2/
- Activate JAWS
- Focus the Name input field
- Tab to the cancel button.
Expected result: JAWS should announce "Cancel button."
Actual result: JAWS announces entire contents of dialog, "Screen reader dialog test case name new cuecard first choice second choice," before announcing the name of the cancel button. This seems to happen only the first time a button is focused; the problem does not happen when focusing subsequent buttons, or leaving the first button and returning to it.
Note: This also happens when JAWS reads the dialog example on the Modal Dialog Example page on the APG. Steps to reproduce there:
- Go to https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/dialog.html
- Tab to Add Delivery Address button in the example. Activate the button.
- Tab to the Verify Address button.
Expected result: JAWS should announce "Verify Address."
Actual result: JAWS announces entire contents of dialog before announcing the button.
JAWS version 2022 2204.20 ILM + Chrome 104.0.5112.102 (64 bit win)