After fixing T7739 I noticed a new problem: When an error message (window) is shown then NVDA reads the text of the window that triggered the error message before the text of the error message.
Example:
- Start NVDA
- Start workflow to create a new OpenPGP certificate (e.g. with Ctrl+N)
- Delete text in Name and Email address field
- Press Return
-> An error window with text "Enter a name or an email address." is shown.
Observed result:
NVDA speaks
Create OpenPGP Certificate dialog Enter a name and/or an email address to use for the certificate.
Name
Email address
Error dialog Enter a name or an email address.
OK button Enter
Expected result:
NVDA speaks
Error dialog Enter a name or an email address.
OK button Enter