qt5base-lts/tests/auto/other/qaccessibility
Michael Weghorn 6ec35ff8c5 a11y: Report app as parent for top-level item views
As happens for other widgets
(s. QAccessibleWidget::parentObject), report the app
as accessible parent for item views that don't
have another parent set.

Otherwise, the accessible tree is broken when
there's a top-level item view:
The application has the item view as a child,
but the child does not have any parent set.

Extend a QListView autotest accordingly.

Fixes: QTBUG-115135
Pick-to: 6.6 6.5
Change-Id: Ie06874681180a30fc6248dc98f80c4158d837278
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-07-10 11:34:41 +02:00
..
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
accessiblewidgets.h Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qaccessibility.cpp a11y: Report app as parent for top-level item views 2023-07-10 11:34:41 +02:00