Open arnauddem opened 1 year ago
This appears to be a bug with role=alert
.
Similar issues have been reported: #7596, #12193
To be able to reproduce and investigate this issue, it would be helpful to have a minimal code sample. Provide a minimal HTML sample to reproduce this using codepen.
We need a minimal HTML sample to proceed. If you are unable to provide one, please report this bug to the authors of the library.
Hi ! I can reproduce behavior on this minimal HTML example. Alert contents is read two times when alert is closing. https://codepen.io/arnauddem/pen/JjZyXBq Thanks.
Hi @arnauddem, while this is helpful, this is far from a minimal HTML sample. To be able to debug this properly we need plain HTML and JS, without external dependencies.
I think this is not related to HTML only, but rather to annimations added by angular ripples and applied on toast messages. I guess Firefox renders them differently. In Chrome this is not reproducible.
If you press the button "error" and just wait, you will notice that NVDA reports the toast annimation when it appears and also when it disappears. In Chrome, NVDA reports this only when it appears.
cc: @jcsteh since this is only reproducible in Firefox.
Steps to reproduce:
Open primereact v7 (or v8) / Toast message page: https://www.primefaces.org/primereact-v7/#/toast
Start NVDA 2022.3.2 (or .1),
Click on Severities / Error button
a Toast message appears, NVDA read correctly toast message:
Wait for toast message to disappears (after few seconds)
OR 4.bis click on Option / Sticky Button, Toast message appears, Then at any time, click on close button => toast message is read several when closing toast message.
Actual behavior:
NVDA read several time toast message when it disappears:
Expected behavior:
NVDA should not read toast message when it disappears.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
NVDA version:
2022.3.1 and 2022.3.2
Windows version:
Windows 10.
Name and version of other software in use when reproducing the issue:
Primereact v7 on Firefox 106.0.5 (Chrome & Edge works fine)
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
2022.3.1 and 2022.3.2
If NVDA add-ons are disabled, is your problem still occurring?
No addon installed
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
issue still occur.