diff options
author | Fushan Wen <qydwhotmail@gmail.com> | 2022-10-18 20:38:35 +0800 |
---|---|---|
committer | Fushan Wen <qydwhotmail@gmail.com> | 2022-11-10 18:29:52 +0000 |
commit | 2cf5253b91d5269e387c68d06f58f00ec36e80c0 (patch) | |
tree | 6b77f02f80f0b95af18534ec80c27906ef7597d7 /src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h | |
parent | 60b5ca5a23814ea32b1e8560f3806b8c48fb1f94 (diff) |
Send accessible focus event after list view has focus
QListView::currentChanged sends an accessible focus event even if the
list view doesn't have focus. For screen readers like Orca, accessible
focus events will be ignored if the target item does not have focus
when screen reader receives the event.
This corrects the behavior by calling QAbstractItemView::currentChanged
before sending an accessible focus event.
Pick-to: 6.4
Change-Id: I71732f62e2f27d7856b4781b268495b88b24b715
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h')
0 files changed, 0 insertions, 0 deletions