qt5base-lts/tests/auto/other
Volker Hilsheimer 79a11470f3 Accessibility: don't emit focus change when reason is window activation
If a window becomes active, then the accessibility system gets informed
about that already. Qt puts focus on the focus child of the activated
window afterwards, and if this emits another accessibility event, then
accessibility clients like Windows Narrator will stop reading the
activated window, and instead read about the focused widget.

This makes dialogs like message boxes poorly accessible.

Accessibility clients already know that a window became active, and can
query Qt about the focused child within that window.

Amend test case.

Fixes: QTBUG-101585
Pick-to: 6.4 6.3 6.2
Change-Id: I2d6bff7c415a6f29c4a4f7f4e4be38079fb976ca
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2022-06-16 19:29:36 +02:00
..
android Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gestures Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
languagechange Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macgui Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macnativeevents Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macplist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
networkselftest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractitemmodelutils Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qaccessibility Accessibility: don't emit focus change when reason is window activation 2022-06-16 19:29:36 +02:00
qaccessibilitylinux Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qaccessibilitymac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcomplextext Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfocusevent Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkaccessmanager_and_qprogressdialog Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qobjectrace Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qprocess_and_guieventloop Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsharedpointer_and_qwidget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvariant_common Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sessionmanagement_macos Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
toolsupport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xkbkeyboard Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Fix tst_qaccessibility on Android 2022-02-25 13:52:33 +01:00