diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2023-06-05 21:33:55 +0200 |
---|---|---|
committer | Marco Cecchetti <marco.cecchetti@collabora.com> | 2023-06-08 10:43:02 +0200 |
commit | d6f929c03ca08a0c1134937a1ff1a42f75221e93 (patch) | |
tree | 12eaa86b8097d80e44685f3f00413a644ab32e05 /sd/source/ui/inc | |
parent | 9f3ffba983baf924a892d7ec6c102686fd7259c9 (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.
Change-Id: I8696c5f9ea069824614e9b541f4959b315dbda5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152629
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'sd/source/ui/inc')
0 files changed, 0 insertions, 0 deletions