Bug 157633 - NVDA screen reader doesn't announce Word Count dialog content when it opens
Summary: NVDA screen reader doesn't announce Word Count dialog content when it opens
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:24.2.0
Keywords: accessibility
Depends on:
Blocks: a11y-Windows
  Show dependency treegraph
 
Reported: 2023-10-06 11:01 UTC by Michael Weghorn
Modified: 2023-10-09 15:42 UTC (History)
1 user (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 2023-10-06 11:01:01 UTC
originally reported on the a11y mailing list:
https://listarchives.libreoffice.org/global/accessibility/msg01055.html

> Firstly, when bringing up a word count, it's very difficult to see... 
> for the screen reader to read the word count. Most of the window seems 
> taken up with a needlessly (to me) long explanation of what word count 
> does. The only way I've found of hearing the actual word count is to use 
> insert+b to get NVDA to read the whole dialog box, and the word count 
> comes right at the end. Little thing I know, but rather irritating if 
> one is trying to keep tabs on the number of words, and having to read 
> every time that this shows the word count of the current selection and 
> the whole document, and that this is automatically updated as you type. 
> Useful to know once of course, but annoying to have to hear every single 
> time.

Steps to reproduce:

1) start NVDA
2) start Writer, open "Tools" -> "Word Count"

Actual result:
The explanation of what the dialog does is spoken, but not the actual dialog content. (NVDA says: "Counts the words and characters, with or without spaces, in the current selection and in the whole document. The count is kept up to date as you type or change the selection.")

NVDA 2023.2

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 71dd1f40482cafda40756dd6de4ecaf66b542909
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2023-10-06 11:01:40 UTC
Self-confirming, since originally reported by another user on the a11y mailing list, s. description.
Comment 2 Michael Weghorn 2023-10-06 14:25:48 UTC
Potential approach to fix that (but needs documentation team input, since that would also affect extended tooltips):
https://gerrit.libreoffice.org/c/core/+/157637
https://gerrit.libreoffice.org/c/core/+/157638
Comment 3 Commit Notification 2023-10-06 22:27:01 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9e3da252c361b3e2b04a2df7a3ae2a5177b37713

tdf#157633 a11y: Don't duplicate dialog description for its buttons

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2023-10-09 07:31:43 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0ac6dc3568a40799200fe368bbad781f284f40e1

tdf#157633 a11y: Drop a11y description in Word Count dialog

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Michael Weghorn 2023-10-09 15:42:16 UTC
(In reply to Michael Weghorn from comment #2)
> Potential approach to fix that (but needs documentation team input, since
> that would also affect extended tooltips):
> https://gerrit.libreoffice.org/c/core/+/157637
> https://gerrit.libreoffice.org/c/core/+/157638

Merged now, so this works in the current development version of LO.

Orca with the gtk3 VCL plugin currently announces only a few of the labels in the dialog, the actually relevant information isn't announced because Orca restricts what it announces.

I've submitted a merge request to Orca with a potential approach that make that scenario work:
https://gitlab.gnome.org/GNOME/orca/-/merge_requests/174