Hi,
On 2023-10-07 23:25, Michael Weghorn wrote:
That sounds plausible. As mentioned in my previous email, I'm planning
to take a closer look at this. Since it works with other applications
(like Word or Thunderbird) and NVDA is free and open source, too, I'm
optimistic that it'll be possible to identify what's missing on either
LibreOffice or NVDA side.
(According to Jason, this already works as expected with Orca on Linux.)
Update on the non-announcement of spelling errors with NVDA:
LibreOffice on Windows currently does not expose spelling errors via
text attributes, but NVDA uses the red underline for misspelled words to
detect misspelled words.
LO also doesn't specify the character attributes it currently reports
according to the IAccessible2 text attribute specification [1], but uses
its own attribute names and values, which NVDA evaluates in its
LibreOffice-specific app module [2].
I think the best way forward is to switch to adhere to the IAccessible2
specification and report the "invalid:spelling" attribute for spelling
errors.
That also needs a modification in NVDA to longer expect the custom
attributes.
Once that's implemented, we'll see whether that already makes the
announcement of misspelled words work as expected or more is needed.
I'm currently working on that, see the following bug report I created
for more details:
https://bugs.documentfoundation.org/show_bug.cgi?id=157696
Regards,
Michael
[1]
https://wiki.linuxfoundation.org/accessibility/iaccessible2/textattributes
[2]
https://github.com/nvaccess/nvda/blob/f1c73d1d25e08c53664eb299fadc81db22c61b13/source/appModules/soffice.py#L35
--
To unsubscribe e-mail to: accessibility+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy