Bug 161962 - NVDA screen reader doesn't announce initial focus in AutoCorrect options dialog
Summary: NVDA screen reader doesn't announce initial focus in AutoCorrect options dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y-Windows
  Show dependency treegraph
 
Reported: 2024-07-09 08:55 UTC by Michael Weghorn
Modified: 2024-08-25 11:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2024-07-09 08:55:10 UTC
# Steps to reproduce:

1) Start the NDVA screen reader
2) start Writer
3) open the "AutoCorrect Options" dialog ("Tools" -> "AutoCorrect" -> "AutoCorrect Options"
4) Listen to NVDA announcement

# Actual result:

NVDA just announces "AutoCorrect, dialog", not the initial focus on the "Replace" edit box in the dialog.

# Expected result

NVDA should announce focus on the "Replace" edit box, as is the case when using the Orca screen reader on Linux.


# Further information

This was originally reported on the LO a11y mailing list [1] for LO 24.2 with NVDA 2024.2. Also reproducible with current development branches of both.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d8c694b5d64b05da8c515e4ffe23c4bcc2376b0f
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded


[1] https://listarchives.libreoffice.org/global/accessibility/msg01187.html
Comment 1 Michael Weghorn 2024-07-09 08:57:33 UTC
Self-confirming, as the issue was originally reported on the a11y mailing list by another user and I can reproduce.

Using NVDA's Python console, it can be seen that the dialog is actually considered the current focus object by NVDA:

    >>> focus.name
    'AutoCorrect'
    >>> focus.role
    <Role.DIALOG: 4>

This could be due to a missing focus event for the edit that has keyboard focus.
Comment 2 Michael Weghorn 2024-08-24 22:53:36 UTC
Corresponding NVDA issue: https://github.com/nvaccess/nvda/issues/13068
Comment 3 V Stuart Foote 2024-08-25 11:00:07 UTC
Also confirmed. Same STR

Also issue with the Page Style dialog (even with the new 24.8 vertical tab/list layout).

=-testing-=
NVDA 2024.3

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a05432f02b6441b66addc0f22f1b8444557ac37b
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded