From 4b1acb290dc8869d0d2d1250dc1ed415d6b6e202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Arve=20S=C3=A6ther?= Date: Thu, 14 Jan 2021 18:46:17 +0100 Subject: a11y: Fix ordering on header, content item and footer in Page Because of the previous behavior, the footer could be read aloud by the screen reader before the content item. And even worse, the footer could be read aloud even before the header in some cases. This made it hard for visually impaired people to use the application. The Page type was used by the Dialog type, so it also affected that. Fixes: QTBUG-75042 Pick-to: 5.15 6.0 Change-Id: Ic3e8ec3f7dcf18af9262b1d35c986835c8da6900 Reviewed-by: Mitch Curtis Reviewed-by: Volker Hilsheimer --- src/quicktemplates2/quicktemplates2.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/quicktemplates2/quicktemplates2.pro') diff --git a/src/quicktemplates2/quicktemplates2.pro b/src/quicktemplates2/quicktemplates2.pro index 06fa0ee7..890845a5 100644 --- a/src/quicktemplates2/quicktemplates2.pro +++ b/src/quicktemplates2/quicktemplates2.pro @@ -10,7 +10,11 @@ DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII HEADERS += \ $$PWD/qtquicktemplates2global_p.h +SOURCES += \ + $$PWD/qtquicktemplates2global.cpp + include(quicktemplates2.pri) +include(accessible/accessible.pri) load(qt_module) QMLTYPES_FILENAME = plugins.qmltypes -- cgit v1.2.3