diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2023-06-05 21:33:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-08-11 19:13:38 +0200 |
commit | 9de08c6f8f2b4150da628fe3e9311f5dc64137b0 (patch) | |
tree | fccd0f3985d23685605f420d804b86fe56a6e74d /sc/source/ui/view/gridwin5.cxx | |
parent | 69972719542cd686687ddd91f2b5284483513608 (diff) |
lok: a11y: get focused paragraph notified on document load
Usually, when the document is loaded, a CARET_CHANGED accessibility
event is automatically emitted for the first paragraph. That allows to
notify the paragraph content to the client, even if no input event
occurred yet. However, in Cypress tests no accessibility event is
automatically emitted until some input event occurs. So we use the
workaround in this patch to notify the content of the focused
paragraph, without waiting for an input event.
(cherry picked from commit d6f929c03ca08a0c1134937a1ff1a42f75221e93)
Change-Id: I8696c5f9ea069824614e9b541f4959b315dbda5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155575
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sc/source/ui/view/gridwin5.cxx')
0 files changed, 0 insertions, 0 deletions